Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CountTokens ¶
func IsAvailable ¶
func IsAvailable() bool
func SanitizePII ¶
Types ¶
type ModelResolution ¶
type ModelResolution struct {
Resolved bool `json:"resolved"`
ProviderID string `json:"provider_id"`
TargetModel string `json:"target_model"`
Family string `json:"family"`
Fallbacks []ModelTarget `json:"fallbacks"`
}
func ResolveModel ¶
func ResolveModel(model string, activeProviders []string) (*ModelResolution, bool)
type ModelTarget ¶
Click to show internal directories.
Click to hide internal directories.