Versions in this module Expand all Collapse all v0 v0.0.1 Jul 10, 2026 v0.0.0 Jul 10, 2026 Changes in this version + type AgentConfig struct + Actions []string + Connectors []string + EnableReasoning bool + InitialPrompt string + Name string + Parallel bool + PromptBlocks []string + type AgentStatus struct + Status string + type ChatResponse struct + Response string + type Client struct + APIKey string + BaseURL string + HTTPClient *http.Client + func NewClient(baseURL string, apiKey string, timeout time.Duration) *Client + func (c *Client) ChatAIResponse(agentName string, messages []InputMessage) (string, error) + func (c *Client) CreateAgent(config *AgentConfig) error + func (c *Client) DeleteAgent(name string) error + func (c *Client) ExportAgent(name string) (*AgentConfig, error) + func (c *Client) GetAIResponse(request *RequestBody) (*ResponseBody, error) + func (c *Client) GetAgentConfig(name string) (*AgentConfig, error) + func (c *Client) ListAgents() ([]string, error) + func (c *Client) Notify(agentName, message string) error + func (c *Client) PauseAgent(name string) error + func (c *Client) SendMessage(agentName, message string) error + func (c *Client) SetTimeout(timeout time.Duration) + func (c *Client) SimpleAIResponse(agentName, input string) (string, error) + func (c *Client) StartAgent(name string) error + func (c *Client) UpdateAgentConfig(name string, config *AgentConfig) error + type ContentItem struct + ImageURL string + Text string + Type string + type InputFunctionToolCallOutput struct + CallID string + ID string + Output string + Status string + Type string + type InputMessage struct + Content any + Role string + Type string + type Message struct + Message string + type MessageContentItem struct + Text string + Type string + type RequestBody struct + Input any + MaxTokens *int + Model string + Temperature *float64 + ToolChoice *ToolChoice + Tools []Tool + type ResponseBase json.RawMessage + func (r *ResponseBase) ToFunctionToolCall() (msg ResponseFunctionToolCall, err error) + func (r *ResponseBase) ToMessage() (msg ResponseMessage, err error) + func (r *ResponseBase) UnmarshalJSON(data []byte) error + type ResponseBody struct + CreatedAt int64 + Error any + Output []ResponseBase + Status string + Tools []Tool + type ResponseFunctionToolCall struct + Arguments string + CallID string + ID string + Name string + Status string + Type string + type ResponseMessage struct + Content []MessageContentItem + Role string + Status string + Type string + type ResponseType string + const ResponseTypeFunctionToolCall + const ResponseTypeMessage + type Tool struct + Description *string + Name *string + Parameters *jsonschema.Definition + SearchContextSize *string + Type string + UserLocation *UserLocation + type ToolChoice struct + Name string + Type string + type UserLocation struct + City *string + Country *string + Region *string + Timezone *string + Type string