The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
docs(openai): document gpt-5.4 reasoning_effort + tools limitation
Chesarsd232d0de6c22
diff --git a/docs/my-website/docs/providers/openai.md b/docs/my-website/docs/providers/openai.mdindex 782c7072e50..546cf6540c9 100644--- a/docs/my-website/docs/providers/openai.md+++ b/docs/my-website/docs/providers/openai.md@@ -628,7 +628,22 @@ curl -X POST 'http://0.0.0.0:4000/chat/completions' \## OpenAI Chat Completion to Responses API Bridge-Call any Responses API model from OpenAI's `/chat/completions` endpoint.+Call any Responses API model from OpenAI's `/chat/completions` endpoint.++:::tip gpt-5.4 + reasoning_effort + function tools++OpenAI does not support `reasoning_effort` with function tools for `gpt-5.4` in `/v1/chat/completions`. Use the responses bridge instead:++```python+response = litellm.completion(+ model="openai/responses/gpt-5.4", # routes to /v1/responses+ messages=[{"role": "user", "content": "What's the weather?"}],+ tools=[...],+ reasoning_effort="low",+)+```++:::<Tabs><TabItem value="sdk" label="SDK">diff --git a/docs/my-website/docs/reasoning_content.md b/docs/my-website/docs/reasoning_content.mdindex b5a5809bd4e..5dd40122c71 100644--- a/docs/my-website/docs/reasoning_content.md+++ b/docs/my-website/docs/reasoning_content.md@@ -592,6 +592,12 @@ Expected Response</TabItem></Tabs>+:::tip gpt-5.4: reasoning_effort + function tools++OpenAI does not support `reasoning_effort` with function tools for `gpt-5.4` in `/v1/chat/completions`. Use `openai/responses/gpt-5.4` to route through the Responses API instead. See [Responses API Bridge](/docs/providers/openai#openai-chat-completion-to-responses-api-bridge) for details.++:::+## OpenAI Responses API - Auto-Summary ControlWhen using OpenAI Responses API models (like `gpt-5`) via `/chat/completions` with `reasoning_effort`, you can control whether `summary="detailed"` is automatically added to the reasoning parameter.