feat: optimize GPT-5.6 defaults and reasoning#3567
Conversation
4381057 to
08b565a
Compare
08b565a to
3de40df
Compare
|
👋 This PR has merge conflicts with the base branch. Please rebase or merge the latest base branch and resolve them. I've moved it to draft and added |
Make GPT-5.6 easier and more efficient to use by updating provider defaults, model-specific reasoning levels, built-in agents, examples, and the embedded models.dev catalog. References: - https://developers.openai.com/api/docs/guides/latest-model - https://developers.openai.com/api/docs/guides/reasoning - https://developers.openai.com/api/docs/models/gpt-5.6 - https://developers.openai.com/api/docs/models/gpt-5.6-sol - https://developers.openai.com/api/docs/models/gpt-5.6-terra - https://developers.openai.com/api/docs/models/gpt-5.6-luna - https://developers.openai.com/codex/models - https://models.dev/models/openai/gpt-5.6-sol - https://models.dev/models/openai/gpt-5.6-terra - https://models.dev/models/openai/gpt-5.6-luna
3de40df to
99a3c80
Compare
Sayt-0
left a comment
There was a problem hiding this comment.
I'm not sure that gpt 5.6 has a max reasoning effort according to the docs : https://developers.openai.com/api/docs/guides/reasoning
|
Good catch—the generic reasoning guide is incomplete here. It says the accepted values are model-dependent, but its generic list currently stops at The GPT-5.6-specific guide explicitly documents
https://developers.openai.com/api/docs/guides/latest-model The implementation gates |
Summary
none,low,medium,high,xhigh,max) while preserving older-model behaviorValidation
task buildtask testgolangci-lint run(0 issues)GOOS=js GOARCH=wasm go test -exec=$(go env GOROOT)/lib/wasm/go_js_wasm_exec ./pkg/model/provider/...git diff --checkThe repository custom linter still reports the pre-existing
Lint/DeferMutexUnlockwarning in untouchedpkg/tools/mcp/session_client.go.Direct OpenAI and ChatGPT examples and defaults use the unsuffixed
gpt-5.6alias. Vercel remains pinned toopenai/gpt-5.6-solbecause its catalog exposes explicit variants rather than the unsuffixed alias.References
gpt-5.6alias routes togpt-5.6-sol.