Documentation
¶
Overview ¶
Package api provides HTTP/WebSocket API for AUTO
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentResponse ¶
type AgentResponse struct {
ID string `json:"id"`
Name string `json:"name"`
Type string `json:"type"`
Status string `json:"status"`
Directory string `json:"directory"`
ProjectID string `json:"project_id"`
CurrentTask string `json:"current_task"`
StartTime time.Time `json:"start_time"`
LastActivity time.Time `json:"last_activity"`
TokensIn int64 `json:"tokens_in"`
TokensOut int64 `json:"tokens_out"`
}
AgentResponse represents an agent in API responses
type Response ¶
type Response struct {
Success bool `json:"success"`
Data interface{} `json:"data,omitempty"`
Error string `json:"error,omitempty"`
}
Response is the standard API response format
Click to show internal directories.
Click to hide internal directories.