🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

chore: bump coder/fantasy for gpt-5.6 Responses routing - #27132

Merged
ibetitsmike merged 1 commit into
mainfrom
mike/fantasy-gpt-5.6-responses
Jul 9, 2026
Merged

chore: bump coder/fantasy for gpt-5.6 Responses routing#27132
ibetitsmike merged 1 commit into
mainfrom
mike/fantasy-gpt-5.6-responses

Conversation

@ibetitsmike

Copy link
Copy Markdown
Collaborator

gpt-5.6 models were unusable with agents: fantasy's Responses allowlist did not include the new family, so IsResponsesModel returned false and chatd fell back to the Chat Completions path (no reasoning params, no encrypted reasoning continuity).

Changes

Verification

  • Probed all three gpt-5.6 models through the ai-gateway: /v1/responses with reasoning.effort, include: ["reasoning.encrypted_content"], and store: false completes for each.
  • go build ./coderd/... and go test ./coderd/x/chatd/chatopenai/ ./coderd/x/chatd/chatprovider/ pass against the new pin.

This PR was authored by Mux on Mike's behalf.

Pulls in coder/fantasy#46, which routes the gpt-5.6 family (sol,
terra, luna) through the OpenAI Responses API instead of Chat
Completions, and coder/fantasy#41, which surfaces the Anthropic
refusal stop_reason as content-filter.
@ibetitsmike ibetitsmike changed the title chore(go.mod): bump coder/fantasy for gpt-5.6 Responses routing chore: bump coder/fantasy for gpt-5.6 Responses routing Jul 9, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a68b17a1b9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread go.mod
Comment on lines +109 to +110
// 16) coder/fantasy#46, route the gpt-5.6 family (sol, terra, luna)
// through the OpenAI Responses API.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Add prices for newly enabled gpt-5.6 models

This bump explicitly makes gpt-5.6-sol, gpt-5.6-terra, and gpt-5.6-luna usable, but the seeded OpenAI gpt-5 price rows still stop at gpt-5.5-pro (coderd/aibridge/prices/data/prices.json:450-465). In budgeted deployments, any request routed to one of these new model IDs will miss GetAIModelPriceByProviderModel, which resolveTokenUsageCost records as NULL cost, and recordTokenUsageAndSpend then skips the spend update, so usage of the newly enabled models is not counted toward AI budgets or cost reports (coderd/aibridgedserver/cost.go:52-62, coderd/aibridgedserver/aibridgedserver.go:347-349). Please add seed rows for the new model IDs alongside the routing bump.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ai gateway is not a part of this PR

@ibetitsmike
ibetitsmike enabled auto-merge (squash) July 9, 2026 18:21
@ibetitsmike
ibetitsmike merged commit f84801e into main Jul 9, 2026
53 of 55 checks passed
@ibetitsmike
ibetitsmike deleted the mike/fantasy-gpt-5.6-responses branch July 9, 2026 18:25
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants