@@ -138,19 +138,29 @@ Crush runs great with no configuration. That said, if you do need or want to
138customize Crush, configuration can be added either local to the project itself,
138customize Crush, configuration can be added either local to the project itself,
139or globally, with the following priority:
139or globally, with the following priority:
141−1. `./.crush.json`
141+1. `.crush.json`
142−2. `./crush.json`
142+2. `crush.json`
143−3. `$HOME/.config/crush/crush.json`
143+3. `$HOME/.config/crush/crush.json` (Windows: `%USERPROFILE%\AppData\Local\crush\crush.json`)
145Configuration itself is stored as a JSON object:
145Configuration itself is stored as a JSON object:
149− "this-setting": { }
149+ "this-setting": {"this": "that"},
150− "that-setting": { }
150+ "that-setting": ["ceci", "cela"]
154+As an additional note, Crush also stores ephemeral data, such as application state, in one additional location:
158+$HOME/.local/shared/crush/crush.json
161+%LOCALAPPDATA%\crush\crush.json
156Crush can use LSPs for additional context to help inform its decisions, just
166Crush can use LSPs for additional context to help inform its decisions, just
@@ -245,6 +255,53 @@ permissions. Use this with care.
245You can also skip all permission prompts entirely by running Crush with the
255You can also skip all permission prompts entirely by running Crush with the
246`--yolo` flag. Be very, very careful with this feature.
256`--yolo` flag. Be very, very careful with this feature.
260+Local models can also be configured via OpenAI-compatible API. Here are two common examples:
269+ "base_url": "http://localhost:11434/v1/",
273+ "name": "Qwen 3 30B",
275+ "context_window": 256000,
276+ "default_max_tokens": 20000
289+ "name": "LM Studio",
290+ "base_url": "http://localhost:1234/v1/",
294+ "name": "Qwen 3 30B",
295+ "id": "qwen/qwen3-30b-a3b-2507",
296+ "context_window": 256000,
297+ "default_max_tokens": 20000
248### Custom Providers
305### Custom Providers
250Crush supports custom provider configurations for both OpenAI-compatible and
307Crush supports custom provider configurations for both OpenAI-compatible and