Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
DefaultTier Tier `yaml:"default_tier"`
Low ModelConfig `yaml:"low"`
Medium ModelConfig `yaml:"medium"`
High ModelConfig `yaml:"high"`
}
func DefaultConfig ¶
func DefaultConfig() Config
func LoadConfig ¶
type ModelConfig ¶
type ModelRouter ¶
type ModelRouter interface {
Select(ctx context.Context, tier Tier) (ModelSelection, error)
}
func NewWithEnvOverride ¶
func NewWithEnvOverride(cfg Config, logger *slog.Logger) ModelRouter
type ModelSelection ¶
Click to show internal directories.
Click to hide internal directories.