Documentation
¶
Index ¶
Constants ¶
View Source
const ProviderClaude = "claude"
View Source
const ProviderCodex = "codex"
View Source
const ProviderGemini = "gemini"
View Source
const ProviderKimi = "kimi"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend interface {
Run(ctx context.Context, req RunRequest) (RunResult, error)
}
func NewBackend ¶
func NewBackend(cfg FactoryConfig) (Backend, error)
type ClaudeConfig ¶
type CodexConfig ¶
type CodexConfig struct {
Command string
Timeout time.Duration
Model string
ReasoningEffort string
Env map[string]string
PromptPrefix string
WorkspaceDir string
// ProfileOverrides maps outer profile name -> per-profile command/timeout/prompt_prefix.
ProfileOverrides map[string]ProfileRunnerConfig
}
type ExecPolicyConfig ¶ added in v0.4.0
type FactoryConfig ¶
type FactoryConfig struct {
Provider string
Prompts *prompting.Loader
Codex CodexConfig
Claude ClaudeConfig
Gemini GeminiConfig
Kimi KimiConfig
}
type GeminiConfig ¶ added in v0.5.10
type KimiConfig ¶
type MultiBackend ¶ added in v0.5.18
type MultiBackend struct {
// contains filtered or unexported fields
}
func NewMultiBackend ¶ added in v0.5.18
func NewMultiBackend(defaultProvider string, backends map[string]Backend) (*MultiBackend, error)
func (*MultiBackend) Run ¶ added in v0.5.18
func (m *MultiBackend) Run(ctx context.Context, req RunRequest) (RunResult, error)
type ProfileRunnerConfig ¶ added in v0.6.3
ProfileRunnerConfig carries per-profile overrides for command, timeout, and prompt prefix. Keyed by the outer llm_profiles map name (e.g. "executor", "reviewer").
type ProgressFunc ¶
type ProgressFunc func(step string)
type Provider ¶
type Provider interface {
Backend() Backend
}
func NewProvider ¶
func NewProvider(cfg FactoryConfig) (Provider, error)
type RunRequest ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.