Versions in this module Expand all Collapse all v0 v0.27.0 Aug 14, 2026 Changes in this version + type Agent struct + CreatedAt int64 + Description string + Icon string + IsPublished bool + Mode string + Name string + PublishedAt int64 + UID string + UpdatedAt int64 + type AgentContext struct + func NewFromCfg(cfg *config.Config) (*AgentContext, error) + func NewFromEnv() (*AgentContext, error) + func (c *AgentContext) Agents(ctx context.Context, workspaceID string, opts *GetAgentsOptions) (*AgentsResponse, error) + func (c *AgentContext) Continue(ctx context.Context, agentID, chatUID, messageID string, ...) (*ConversationResponse, error) + func (c *AgentContext) ContinueStream(ctx context.Context, agentID, chatUID, messageID string, ...) (*ConversationStream, error) + func (c *AgentContext) Conversation(ctx context.Context, agentID, query, chatUID, parentMessageID string) (*ConversationResponse, error) + func (c *AgentContext) ConversationStream(ctx context.Context, agentID, query, chatUID, parentMessageID string) (*ConversationStream, error) + func (c *AgentContext) PublicAgents(ctx context.Context, opts *GetAgentsOptions) (*AgentsResponse, error) + func (c *AgentContext) Workspaces(ctx context.Context) (*WorkspacesResponse, error) + type AgentsResponse struct + Agents []Agent + Total int32 + type AnswersByToolCall map[string]map[string]string + type ChatFinishedEvent struct + ChatID int64 + ChatUID string + Error string + ErrorMessage string + MessageID string + func (e *ChatFinishedEvent) UnmarshalJSON(data []byte) error + type ChatStartedEvent struct + ChatID int64 + ChatUID string + Error string + ErrorMessage string + MessageID string + func (e *ChatStartedEvent) UnmarshalJSON(data []byte) error + type ChatTitleUpdatedEvent struct + ChatID int64 + ChatUID string + Source string + Title string + UpdatedAt int64 + type ConversationError struct + Code int32 + Message string + type ConversationResponse struct + Answer string + ChatUID string + ElapsedTime float64 + Error *ConversationError + FurtherQuestions []string + Interrupt *Interrupt + MessageID string + References []Reference + Status ConversationStatus + func (r *ConversationResponse) UnmarshalJSON(data []byte) error + type ConversationStatus string + const ConversationStatusFailed + const ConversationStatusInterrupted + const ConversationStatusStopped + const ConversationStatusSucceeded + type ConversationStream struct + func (s *ConversationStream) Close() error + func (s *ConversationStream) Err() error + func (s *ConversationStream) Event() ConversationStreamEvent + func (s *ConversationStream) Next() bool + type ConversationStreamEvent interface + type GetAgentsOptions struct + Limit int32 + Name string + Page int32 + type HumanInteraction struct + InteractionType string + InterruptID string + Questions []Question + ToolArgs json.RawMessage + ToolCallID string + ToolName string + type HumanInteractionRequiredEvent struct + type Interrupt struct + ChatID int64 + Interactions []HumanInteraction + MessageID int64 + NodeID string + Questions []Question + ToolCallID string + type MessageEvent struct + Text string + type OtherEvent struct + Data json.RawMessage + Event string + type PingEvent struct + type Question struct + MultiSelect bool + Options []QuestionOption + Question string + type QuestionOption struct + Description string + Label string + type Reference struct + Content json.RawMessage + ID string + Index int32 + OriginalIndex int32 + RefType string + Title string + URL string + type WorkflowFinishedEvent struct + type WorkflowStartedEvent struct + HitCache bool + Inputs WorkflowStartedInputs + StartedAt int64 + WorkflowID int64 + type WorkflowStartedInputs struct + ChatID int64 + ChatUID string + MessageID string + Query string + func (i *WorkflowStartedInputs) UnmarshalJSON(data []byte) error + type Workspace struct + CreatedAt int64 + ID string + Name string + UpdatedAt int64 + type WorkspacesResponse struct + Workspaces []Workspace