Skip to content

🐛 fix: Default GPT-5.6 to Responses API without explicit reasoning_effort#14356

Open
Solaris-star wants to merge 1 commit into
danny-avila:mainfrom
Solaris-star:fix/14355-gpt56-responses-default
Open

🐛 fix: Default GPT-5.6 to Responses API without explicit reasoning_effort#14356
Solaris-star wants to merge 1 commit into
danny-avila:mainfrom
Solaris-star:fix/14355-gpt56-responses-default

Conversation

@Solaris-star

Copy link
Copy Markdown

Summary

  • GPT-5.6 reasons by default, so function tools still 400 on /v1/chat/completions even when no reasoning_effort is set.
  • Broaden requiresResponsesApiForReasoning so first-party OpenAI GPT-5.6 auto-switches to the Responses API unless effort is explicitly none (or Responses is opted out).
  • Update the unit expectation for the no-explicit-effort case; keep the existing none / explicit-opt-out / non-canonical-base-URL guards.

Fixes #14355

Test plan

  • packages/api unit tests for getOpenAILLMConfig / GPT-5.6 Responses API Requirement
  • First-party OpenAI gpt-5.6 / -terra / -luna / -sol with a function tool and no explicit effort routes to Responses API
  • Explicit reasoning_effort: none stays on Chat Completions
  • useResponsesApi: false / dropParams opt-out still honored
  • Custom / reverse-proxy / OpenRouter paths unchanged

…fort

GPT-5.6 reasons by default, so function tools 400 on Chat Completions even
when no reasoning_effort is set. Auto-switch to Responses API for first-party
OpenAI GPT-5.6 unless effort is explicitly none (or Responses is opted out).

Fixes danny-avila#14355
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GPT-5.6 + function tools 400s on /v1/chat/completions when no explicit reasoning_effort is set

1 participant