Versions in this module Expand all Collapse all v0 v0.6.0 Oct 30, 2026 Changes in this version + type CompletionRequest struct + ForbidToolUse bool + Messages []domain.Message + RequireToolUse bool + Tools []domain.ToolSpec + type Credentials map[string]string + type LLM interface + Complete func(ctx context.Context, req CompletionRequest) (domain.Message, error) + type LLMFactory interface + New func(s domain.Settings) (LLM, error) + type SettingsRepository interface + Delete func(ctx context.Context, orgID string) error + Get func(ctx context.Context, orgID string) (*domain.Settings, error) + Save func(ctx context.Context, s domain.Settings) error + type ToolSession interface + CallTool func(ctx context.Context, name, arguments string) (output string, isError bool, err error) + Close func() error + ListTools func(ctx context.Context) ([]domain.ToolSpec, error) + type ToolSessionOpener interface + Open func(ctx context.Context, creds Credentials) (ToolSession, error)