diff --git a/README.md b/README.md index 11a2e33..988da07 100644 --- a/README.md +++ b/README.md @@ -121,7 +121,7 @@ claude-local() { ANTHROPIC_BASE_URL=http://localhost:1234 \ ANTHROPIC_AUTH_TOKEN=lmstudio \ CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 \ - claude --settings '{"alwaysThinkingEnabled": false}' --model qwen/qwen3-coder-next "$@" + claude --model qwen/qwen3-coder-next "$@" } ``` @@ -400,7 +400,9 @@ claude Or use the `claude-local` shell function from [Shell Setup](#shell-setup) to avoid typing the env vars every time. -If `claude-local` fails with `The number of tokens to keep from the initial prompt is greater than the context length.` message, then try disabling auto-loaded tools (`--strict-mcp-config` first, then try also `--disable-slash-commands` and `--system-prompt "You are a helpful coding assistant."`) +If `claude-local` fails with `The number of tokens to keep from the initial prompt is greater than the context length.` message, then try disabling auto-loaded tools (`--strict-mcp-config` first, then try also `--disable-slash-commands` and `--system-prompt "You are a helpful coding assistant."`). + +If `claude-local` fails with `request.thinking.type: Invalid discriminator value. Expected 'enabled' | 'disabled'"` then add `--settings '{"alwaysThinkingEnabled": false}'` flag. For the full list of environment variables (model overrides, subagent models, traffic controls, etc.), see the [model configuration docs](https://code.claude.com/docs/en/model-config).