Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Provider Provider
Model string
BaseURL string
LiteLLMFormat LiteLLMFormat
}
type Generator ¶
func NewGenerator ¶
type LiteLLMFormat ¶
type LiteLLMFormat string
const ( LiteLLMFormatOpenAI LiteLLMFormat = "openai" LiteLLMFormatAnthropic LiteLLMFormat = "anthropic" )
type ResolvedConfig ¶
type ResolvedConfig struct {
Provider Provider
Model string
BaseURL string
BaseURLExplicit bool
APIKey string
LiteLLMFormat LiteLLMFormat
}
func ResolveConfig ¶
func ResolveConfig(cfg Config) (ResolvedConfig, error)
Click to show internal directories.
Click to hide internal directories.