Documentation
¶
Index ¶
- func CatalogModels(infos []ai.ModelInfo) []config.ModelInfoLite
- func ClientForProvider(prov config.Provider, name string, maxRetries int) (ai.Client, error)
- func ClientForProviderOptional(prov config.Provider, name string, maxRetries int) (ai.Client, error)
- func DefaultEffortFor(catalogs map[string]config.Catalog, provName, modelID, pinned string) string
- func RefreshCatalogs(cfg *config.Config, force bool) map[string]config.Catalog
- func ResolveWithRefresh(cfg *config.Config, modelName, provName string) (config.Provider, config.Model, string, error)
- func ResolvedProvider(cfg *config.Config, model, prov string) string
- func SelectionNames(cfg *config.Config, mdl config.Model, modelName, provName string) (string, string)
- func SubModelFor(cfg *config.Config, model, provider string) (agent.SubModel, error)
- func TaskDefaultFor(cfg *config.Config, provider string) (agent.SubModel, error)
- func TokenLimits(mdl config.Model, cat config.Catalog, apiID string) (contextLimit, maxOut int)
- type Route
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CatalogModels ¶
func CatalogModels(infos []ai.ModelInfo) []config.ModelInfoLite
func ClientForProvider ¶
func DefaultEffortFor ¶
func RefreshCatalogs ¶
func ResolveWithRefresh ¶
func SelectionNames ¶
func SubModelFor ¶
func TaskDefaultFor ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.