diff --git a/internal/config/config.go b/internal/config/config.go index 2c414e3e9e35d6f232e00762f50aca1066aca321..dcff778d7cdc79494dfcbd54071fd3f2dff7cfc8 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -359,8 +359,9 @@ type Config struct { // We currently only support large/small as values here. Models map[SelectedModelType]SelectedModel `json:"models,omitempty" jsonschema:"description=Model configurations for different model types,example={\"large\":{\"model\":\"gpt-4o\",\"provider\":\"openai\"}}"` + // Recently used models stored in the data directory config. - RecentModels map[SelectedModelType][]SelectedModel `json:"recent_models,omitempty" jsonschema:"description=Recently used models sorted by most recent first"` + RecentModels map[SelectedModelType][]SelectedModel `json:"recent_models,omitempty" jsonschema:"-"` // The providers that are configured Providers *csync.Map[string, ProviderConfig] `json:"providers,omitempty" jsonschema:"description=AI provider configurations"` diff --git a/schema.json b/schema.json index d92c398cc84704e69975f501c5f96e26ebfa7d1e..6eeaa40c1865ebb5e46f70964f4eba69cf47013e 100644 --- a/schema.json +++ b/schema.json @@ -63,16 +63,6 @@ "type": "object", "description": "Model configurations for different model types" }, - "recent_models": { - "additionalProperties": { - "items": { - "$ref": "#/$defs/SelectedModel" - }, - "type": "array" - }, - "type": "object", - "description": "Recently used models sorted by most recent first" - }, "providers": { "additionalProperties": { "$ref": "#/$defs/ProviderConfig"