Versions in this module Expand all Collapse all v1 v1.154.0 Oct 28, 2026 v1.153.0 Oct 27, 2026 Changes in this version + type Catalog struct + Config *Config + ListDMR func(context.Context) ([]dmrmodels.Model, error) + Now func() time.Time + Store Store + func (r *Catalog) AvailableModels(ctx context.Context, agentName string) []ModelChoice + type Config struct + AgentDefaultModels map[string]string + EncryptedConfig string + EnvProvider environment.Provider + Models map[string]latest.ModelConfig + ModelsGateway string + ModelsStore Store + ProviderRegistry *provider.Registry + Providers map[string]latest.ProviderConfig + type ModelChoice struct + Architecture string + CacheReadCost float64 + CacheWriteCost float64 + ContextLimit int + Family string + InputCost float64 + InputModalities []string + IsCatalog bool + IsCurrent bool + IsCustom bool + IsDefault bool + Model string + Name string + OutputCost float64 + OutputLimit int64 + OutputModalities []string + Parameters string + Provider string + Quantization string + Ref string + Size string + func DecorateModelChoices(models []ModelChoice, currentRef string, customRefs []string) []ModelChoice + type SessionModelsResponse struct + Agent string + CurrentModelRef string + Models []ModelChoice + type Store interface + GetDatabase func(ctx context.Context) (*modelsdev.Database, error) + GetModel func(ctx context.Context, id modelsdev.ID) (*modelsdev.Model, error)