Skip to content

fix(cli): promote the call --preview old-backend hint to staging - #82

Merged
dxiongya merged 1 commit into
stagingfrom
feature/sandbox-to-preview
Nov 25, 2026
Merged

dxiongya merged 1 commit into
stagingfrom
feature/sandbox-to-preview

Conversation

@dxiongya

Copy link
Copy Markdown
Collaborator

把 feature/sandbox-to-preview 的修复提交 2a68a15 提到 staging。dev 上已经通过 #81 合并(094eb4864),和 staging 没有冲突。

内容和 #81 相同:call --preview 连到不支持 preview 的后端、返回 400 时,输出里加上「后端版本不支持」的 hint。其他 400 不受影响。

Kanby-Task: KANBY-141

🤖 Generated with Claude Code

call rebuilds its error from the response body in actionErrorDetail, so
the hint withPreviewHint appends to the HttpError message never reached
the output (call, --stream and --output alike). Add it as the detail's
hint field when a 400 mentions include_preview; other 400s are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dxiongya
dxiongya merged commit 7d4f3ba into staging Nov 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant