Commit d331a10
authored
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 d331a10Copy full SHA for d331a10
2 files changed
+8-4Lines changed: 8 additions & 4 deletions
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+6-2Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
104 | 104 | |
105 | 105 | |
106 | 106 | |
107 | | - |
108 | | - |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | + |
| 111 | + |
| 112 | + |
109 | 113 | |
110 | 114 | |
111 | 115 | |
|
Collapse file
+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
322 | 322 | |
323 | 323 | |
324 | 324 | |
325 | | - |
326 | | - |
| 325 | + |
| 326 | + |
327 | 327 | |
328 | 328 | |
329 | 329 | |
|
0 commit comments