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 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 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.