Filter model selector by API keys and add user-facing documentation

- Model selector now only shows models with configured API keys
- Added yellow hint in model selector UI explaining the filtering
- Updated README.md to document the filtering behavior in both API Keys and /model sections
- Bumped version to 0.7.11
This commit is contained in:
Mario Zechner 2025-11-16 21:01:31 +01:00
parent 977dfec5c9
commit 9b08f92dd9
11 changed files with 37 additions and 21 deletions

View file

@ -62,6 +62,8 @@ export ZAI_API_KEY=...
If no API key is set, the CLI will prompt you to configure one on first run.
**Note:** The `/model` command only shows models for which API keys are configured in your environment. If you don't see a model you expect, check that you've set the corresponding environment variable.
## Slash Commands
The CLI supports several commands to control its behavior:
@ -70,6 +72,8 @@ The CLI supports several commands to control its behavior:
Switch models mid-session. Opens an interactive selector where you can type to search (by provider or model name), use arrow keys to navigate, Enter to select, or Escape to cancel.
The selector only displays models for which API keys are configured in your environment (see API Keys section).
### /thinking
Adjust thinking/reasoning level for supported models (Claude Sonnet 4, GPT-5, Gemini 2.5). Opens an interactive selector where you can use arrow keys to navigate, Enter to select, or Escape to cancel.