Repository navigation
fix(cli): promote the call --preview old-backend hint to staging - #82
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
把
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