on main help sign in
Merge branch 'main' into ui
commitbee9630c401b268da9250a3845ec21afaa43ac94 authorAyman Bagabas <ayman.bagabas@gmail.com> dateWed 21 Jan 2026, 10:00 (9 months ago) parentead5bf40777060
3 files changed+4−13
README.md+2−2 internal/config/config.go+2−1 schema.json−10
README.md+2−2
@@ -735,8 +735,8 @@ Or by setting the following in your config:
735735}
736736```
737737
738−Crush also respects the [`DO_NOT_TRACK`](https://consoledonottrack.com)
739−convention which can be enabled via `export DO_NOT_TRACK=1`.
738+Crush also respects the `DO_NOT_TRACK` convention which can be enabled via
739+`export DO_NOT_TRACK=1`.
740740
741741## Contributing
742742
internal/config/config.go+2−1
@@ -364,8 +364,9 @@ type Config struct {
364364
365365 // We currently only support large/small as values here.
366366 Models map[SelectedModelType]SelectedModel `json:"models,omitempty" jsonschema:"description=Model configurations for different model types,example={\"large\":{\"model\":\"gpt-4o\",\"provider\":\"openai\"}}"`
367+
367368 // Recently used models stored in the data directory config.
368− RecentModels map[SelectedModelType][]SelectedModel `json:"recent_models,omitempty" jsonschema:"description=Recently used models sorted by most recent first"`
369+ RecentModels map[SelectedModelType][]SelectedModel `json:"recent_models,omitempty" jsonschema:"-"`
369370
370371 // The providers that are configured
371372 Providers *csync.Map[string, ProviderConfig] `json:"providers,omitempty" jsonschema:"description=AI provider configurations"`
schema.json−10
@@ -63,16 +63,6 @@
6363 "type": "object",
6464 "description": "Model configurations for different model types"
6565 },
66− "recent_models": {
67− "additionalProperties": {
68− "items": {
69− "$ref": "#/$defs/SelectedModel"
70− },
71− "type": "array"
72− },
73− "type": "object",
74− "description": "Recently used models sorted by most recent first"
75− },
7666 "providers": {
7767 "additionalProperties": {
7868 "$ref": "#/$defs/ProviderConfig"