Replace GPT 5.5 with GPT 5.6 Sol and route OpenAI models through the Responses API - #4190
Conversation
…Responses API Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
📊 Performance Test ResultsComparing f593f9a vs trunk app-size
site-editor
site-startup
Results are median values from multiple test runs. Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff) |
sejas
left a comment
There was a problem hiding this comment.
I tested it by creating a new site and the result was really good.
I'm also adding the cost for the new model 228029-ghe-Automattic/wpcom
Here's my preview site created with GPT 5.6 https://antoniosejas-mofxg-studio.wp.build/
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Debugged the 400 (@sejas's review + a local repro): compaction turned out to be a symptom, not the cause. We declared Fixed in f593f9a: the model now declares |
sejas
left a comment
There was a problem hiding this comment.
Thanks for finding the issue and implementing the fix. ✨

Related issues
How AI was used in this PR
Entirely built with Claude Code (Fable 5): it made the model swap, then diagnosed the resulting
400 (no body)failure by capturing the CLI's exact request with a local logging proxy and bisecting it against the wpcom AI proxy, and implemented and verified the fix end-to-end (live turns with tool calls through the proxy). Code reviewed by @youknowriad.Proposed Changes
/v1/responsespath instead of/v1/chat/completions. This is required for the upgrade: GPT 5.6 Sol rejects function tools on Chat Completions when reasoning is active (the API suggests using/v1/responsesor disabling reasoning), and every Studio Code turn attaches the agent's tools — so all GPT 5.6 Sol turns failed with a400before this change. The Responses API supports tools with reasoning intact, so users get the model's full capability rather than a reasoning-disabled fallback.gpt-5.5id fall back to the default model automatically on their next turn (existing behavior for removed models); no migration needed.gpt-*-pro,o*) is gone. They stay excluded for now due to proxy/SDK timeout concerns on long reasoning turns.Testing Instructions
npm run cli:build && node apps/cli/dist/cli/main.mjs ai/model→ select GPT 5.6 Sol400 status code (no body).Pre-merge Checklist
🤖 Generated with Claude Code