Documentation
¶
Overview ¶
Package config handles loading and saving Alaska's TOML configuration. API keys are NOT stored here — they live in the OS keyring (see internal/secrets).
Index ¶
Constants ¶
View Source
const ( TypeOpenAI = "openai" TypeAnthropic = "anthropic" TypeAlaska = "alaska" // Alaska API — OpenAI-compatible proxy with custom base_url )
Known provider types. Custom providers use "openai" with a base_url override.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
DefaultProvider string `toml:"default_provider"`
DefaultModel string `toml:"default_model"`
Providers map[string]ProviderConfig `toml:"providers"`
}
type ProviderConfig ¶
Click to show internal directories.
Click to hide internal directories.