Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
docs: Add example of controlling reasoning effort (#36135)
Oleksiy Syvokon5a6df38ccf61
diff --git a/docs/src/ai/llm-providers.md b/docs/src/ai/llm-providers.mdindex 21ff2a8a511..58c92307600 100644--- a/docs/src/ai/llm-providers.md+++ b/docs/src/ai/llm-providers.md@@ -392,26 +392,26 @@ Zed will also use the `OPENAI_API_KEY` environment variable if it's defined.#### Custom Models {#openai-custom-models}The Zed agent comes pre-configured to use the latest version for common models (GPT-5, GPT-5 mini, o4-mini, GPT-4.1, and others).-To use alternate models, perhaps a preview release or a dated model release, or if you wish to control the request parameters, you can do so by adding the following to your Zed `settings.json`:+To use alternate models, perhaps a preview release, or if you wish to control the request parameters, you can do so by adding the following to your Zed `settings.json`:```json{"language_models": {"openai": {"available_models": [+ {+ "name": "gpt-5",+ "display_name": "gpt-5 high",+ "reasoning_effort": "high",+ "max_tokens": 272000,+ "max_completion_tokens": 20000+ },{"name": "gpt-4o-2024-08-06","display_name": "GPT 4o Summer 2024","max_tokens": 128000- },- {- "name": "o1-mini",- "display_name": "o1-mini",- "max_tokens": 128000,- "max_completion_tokens": 20000}- ],- "version": "1"+ ]}}}