on main help sign in
Merge branch 'main' into ui
bee9630Ayman Bagabas
README.md+2−2
@@ -735,8 +735,8 @@ Or by setting the following in your config:
735}
735}
736```
736```
737
737
738−Crush also respects the [`DO_NOT_TRACK`](https://consoledonottrack.com)
738+Crush also respects the `DO_NOT_TRACK` convention which can be enabled via
739−convention which can be enabled via `export DO_NOT_TRACK=1`.
739+`export DO_NOT_TRACK=1`.
740
740
741## Contributing
741## Contributing
742
742
internal/config/config.go+2−1
@@ -364,8 +364,9 @@ type Config struct {
364
364
365 // We currently only support large/small as values here.
365 // We currently only support large/small as values here.
366 Models map[SelectedModelType]SelectedModel `json:"models,omitempty" jsonschema:"description=Model configurations for different model types,example={\"large\":{\"model\":\"gpt-4o\",\"provider\":\"openai\"}}"`
366 Models map[SelectedModelType]SelectedModel `json:"models,omitempty" jsonschema:"description=Model configurations for different model types,example={\"large\":{\"model\":\"gpt-4o\",\"provider\":\"openai\"}}"`
367+
367 // Recently used models stored in the data directory config.
368 // 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:"-"`
369
370
370 // The providers that are configured
371 // The providers that are configured
371 Providers *csync.Map[string, ProviderConfig] `json:"providers,omitempty" jsonschema:"description=AI provider configurations"`
372 Providers *csync.Map[string, ProviderConfig] `json:"providers,omitempty" jsonschema:"description=AI provider configurations"`
schema.json−10
@@ -63,16 +63,6 @@
63 "type": "object",
63 "type": "object",
64 "description": "Model configurations for different model types"
64 "description": "Model configurations for different model types"
65 },
65 },
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− },
76 "providers": {
66 "providers": {
77 "additionalProperties": {
67 "additionalProperties": {
78 "$ref": "#/$defs/ProviderConfig"
68 "$ref": "#/$defs/ProviderConfig"