Versions in this module Expand all Collapse all v1 v1.3.0 Feb 26, 2026 v1.2.0 Feb 25, 2026 Changes in this version + type ToolResultDTO struct + Duration string + Error string + Name string + Result json.RawMessage + ToolCallID string v1.1.0 Feb 24, 2026 v1.0.0 Feb 23, 2026 Changes in this version + type ErrorInfo struct + Code string + Details string + HTTPStatus int + Message string + Provider string + Retryable bool + type Response struct + Data any + Error *ErrorInfo + RequestID string + Success bool + Timestamp time.Time v0 v0.2.0 Feb 20, 2026 v0.1.0 Feb 20, 2026 Changes in this version + type A2ARequest struct + Context any + Stream bool + Task string + type A2AResponse struct + Error string + Result any + Status string + type AgentCard struct + Capabilities []Capability + Description string + InputSchema any + Metadata map[string]string + Name string + OutputSchema any + Tools []ToolDefinition + URL string + Version string + type Capability struct + Description string + Name string + Type string + type ChatChoice struct + FinishReason string + Index int + Message Message + type ChatRequest struct + MaxTokens int + Messages []Message + Metadata map[string]string + Model string + Stop []string + Tags []string + Temperature float32 + TenantID string + Timeout string + ToolChoice string + Tools []ToolSchema + TopP float32 + TraceID string + UserID string + type ChatResponse struct + Choices []ChatChoice + CreatedAt time.Time + ID string + Model string + Provider string + Usage ChatUsage + type ChatUsage struct + CompletionTokens int + PromptTokens int + TotalTokens int + type ErrorDetail struct + Code string + HTTPStatus int + Message string + Provider string + Retryable bool + type ErrorResponse struct + Error ErrorDetail + type ImageContent struct + Data string + Type string + URL string + type LLMModel struct + CreatedAt time.Time + Description string + DisplayName string + Enabled bool + ID uint + ModelName string + UpdatedAt time.Time + type LLMProvider struct + Code string + CreatedAt time.Time + Description string + ID uint + Name string + Status int + UpdatedAt time.Time + type LLMProviderModel struct + BaseURL string + Enabled bool + ID uint + MaxTokens int + ModelID uint + PriceCompletion float64 + PriceInput float64 + Priority int + ProviderID uint + RemoteModelName string + type Message struct + Content string + Images []ImageContent + Metadata any + Name string + Role string + Timestamp time.Time + ToolCallID string + ToolCalls []ToolCall + type ModelListResponse struct + Models []LLMModel + type ProviderHealthResponse struct + ErrorRate float64 + Healthy bool + Latency string + type ProviderListResponse struct + Providers []LLMProvider + type ProviderSelection struct + IsCanary bool + ModelID uint + ModelName string + ProviderCode string + ProviderID uint + Strategy string + type RoutingRequest struct + Model string + Strategy string + Tags []string + type StreamChunk struct + Delta Message + Error *ErrorDetail + FinishReason string + ID string + Index int + Model string + Provider string + Usage *ChatUsage + type ToolCall struct + Arguments json.RawMessage + ID string + Name string + type ToolDefinition struct + Description string + Name string + Parameters any + type ToolInvokeRequest struct + Arguments json.RawMessage + type ToolListResponse struct + Tools []ToolSchema + type ToolResult struct + Duration string + Error string + Name string + Result json.RawMessage + ToolCallID string + type ToolSchema struct + Description string + Name string + Parameters json.RawMessage + Version string