Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
ActiveProvider string `mapstructure:"active_provider" yaml:"active_provider,omitempty"`
Providers map[string]ProviderConfig `mapstructure:"providers" yaml:"providers,omitempty"`
}
Config represents the persistent CLI configuration.
type ProviderConfig ¶
type ProviderConfig struct {
BaseURL string `mapstructure:"base_url" yaml:"base_url,omitempty"`
Model string `mapstructure:"model" yaml:"model,omitempty"`
}
ProviderConfig stores per-provider settings.
Click to show internal directories.
Click to hide internal directories.