Update README

This commit is contained in:
Alishahryar1
2026-05-10 16:28:18 -07:00
parent 2a2f2a2712
commit 2ea24e2510
+1 -7
View File
@@ -261,18 +261,12 @@ Restart the IDE after changing the file.
### 4. Model Picker
Claude Code 2.1.126 or later can populate `/model` from this proxy's Gateway `/v1/models` response when `ANTHROPIC_BASE_URL` points here. In **2.1.1262.1.128** that discovery was automatic; **newer releases** require **`CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY=1`** in the same environment as `ANTHROPIC_*`. Omit the flag if you only set models via proxy config and never use `/model` discovery.
Start Claude Code with that variable set (see [Run Claude Code](#7-run-claude-code)), run `/model`, and choose any discovered provider model.
To use Claude Code's `/model` picker, start Claude Code with `CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY=1`, run `/model`, and choose any listed provider model.
<div align="center">
<img src="assets/cc-model-picker.png" alt="Claude Code model picker showing gateway models" width="700">
</div>
The proxy lists models for configured provider keys and referenced local providers. Picker-safe IDs are routed back to the real provider/model automatically, so no `.env` edit is needed after startup.
Each provider model also has a `(no thinking)` picker variant. Use it when a model does not support Claude Code thinking or fails with adaptive-thinking requests. It routes to the same upstream model while asking Claude Code to send a non-thinking request.
## Optional Integrations
### 1. Discord And Telegram Bots