Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d331a10

Browse filesBrowse files
authored
fix: bump coder/fantasy for gpt-5.6 Responses routing (#27132) (#27134)
Cherry-pick of #27132 (`f84801ee`) onto `release/2.35`. 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 - Bump the `charm.land/fantasy` replace pin from `2e3ddbca75dd` to coder/fantasy `6da0c3b10237` (coder_2_33), pulling in: - coder/fantasy#46: route `gpt-5.6-sol`, `gpt-5.6-terra`, `gpt-5.6-luna` through the OpenAI Responses API as reasoning models. - coder/fantasy#41: surface Anthropic refusal stop_reason as content-filter (rides along; sits below #46 on coder_2_33). - Update the fork changelog comment in go.mod. ## Backport safety - The delta over 2.35's pin is exactly the two commits above; #27132 itself touched only go.mod/go.sum, and no coder/coder code references the refusal metadata or content-filter finish reason (verified on main and 2.35). - Finish-part provider metadata is never persisted by chatd, so a rollback to an unpatched 2.35.x binary cannot hit undecodable stored history. - `go build ./coderd/...` and `go test ./coderd/x/chatd/{chatopenai,chatprovider,chatprompt,chatloop}/` pass on this branch; `go mod tidy` is a no-op. > This PR was authored by Mux on Mike's behalf.
1 parent 404826a commit d331a10
Copy full SHA for d331a10

2 files changed

+8-4Lines changed: 8 additions & 4 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎go.mod‎

Copy file name to clipboardExpand all lines: go.mod
+6-2Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,12 @@ replace github.com/spf13/afero => github.com/aslilac/afero v0.0.0-20250403163713
104104
// 14) coder/fantasy bedrock: mirror the request region when prefixing
105105
// cross-region inference profiles so the model-ID prefix matches the
106106
// region the request is actually signed for.
107-
// See: https://github.com/coder/fantasy/commits/2e3ddbca75dd
108-
replace charm.land/fantasy => github.com/coder/fantasy v0.0.0-20260617050554-2e3ddbca75dd
107+
// 15) coder/fantasy#41, surface Anthropic refusal stop_reason as
108+
// content-filter.
109+
// 16) coder/fantasy#46, route the gpt-5.6 family (sol, terra, luna)
110+
// through the OpenAI Responses API.
111+
// See: https://github.com/coder/fantasy/commits/6da0c3b10237
112+
replace charm.land/fantasy => github.com/coder/fantasy v0.0.0-20260709180403-6da0c3b10237
109113

110114
// coder/coder uses a fork of charmbracelet's fork of the Anthropic Go SDK
111115
// with performance improvements and Bedrock header cleanup.
Collapse file

‎go.sum‎

Copy file name to clipboardExpand all lines: go.sum
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,8 @@ github.com/coder/bubbletea v1.2.2-0.20241212190825-007a1cdb2c41 h1:SBN/DA63+ZHwu
322322
github.com/coder/bubbletea v1.2.2-0.20241212190825-007a1cdb2c41/go.mod h1:I9ULxr64UaOSUv7hcb3nX4kowodJCVS7vt7VVJk/kW4=
323323
github.com/coder/clistat v1.2.1 h1:P9/10njXMyj5cWzIU5wkRsSy5LVQH49+tcGMsAgWX0w=
324324
github.com/coder/clistat v1.2.1/go.mod h1:m7SC0uj88eEERgvF8Kn6+w6XF21BeSr+15f7GoLAw0A=
325-
github.com/coder/fantasy v0.0.0-20260617050554-2e3ddbca75dd h1:PWOW1JxcPi2MfNawFWdECvKuL+pgx1dtYF9vXlaW8rc=
326-
github.com/coder/fantasy v0.0.0-20260617050554-2e3ddbca75dd/go.mod h1:/1tM8tL1viuF1COpWPwbcUl4s1kAnjSruzo9wAdg4z0=
325+
github.com/coder/fantasy v0.0.0-20260709180403-6da0c3b10237 h1:DyIn89F5RErX8Z6BKtzQBg5PvDTasjX8+PXkdJUxK3Q=
326+
github.com/coder/fantasy v0.0.0-20260709180403-6da0c3b10237/go.mod h1:/1tM8tL1viuF1COpWPwbcUl4s1kAnjSruzo9wAdg4z0=
327327
github.com/coder/flog v1.1.0 h1:kbAes1ai8fIS5OeV+QAnKBQE22ty1jRF/mcAwHpLBa4=
328328
github.com/coder/flog v1.1.0/go.mod h1:UQlQvrkJBvnRGo69Le8E24Tcl5SJleAAR7gYEHzAmdQ=
329329
github.com/coder/go-httpstat v0.0.0-20230801153223-321c88088322 h1:m0lPZjlQ7vdVpRBPKfYIFlmgevoTkBxB10wv6l2gOaU=

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.