Repository navigation
[skip eval] fix: 生图重试时失败卡片由新卡片接替,点阵卡片去掉文字 - #385
Merged
Merged
Conversation
同一轮里生图失败后又发起了生图,只保留最新的那张卡片,不再同时显示失败卡片和生成中卡片。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
文字和点阵混在一起不易分辨,只保留右下角秒数;文字改为仅读屏可见,状态播报不变。 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.
问题
no_image_returned),Agent 自动重试。界面上同时显示了两张卡片:上面一张「图片生成失败」,下面一张「正在生成图片」。改动
collectPendingImageGenerations:同一轮里,一次生图失败或中断后,如果后面又发起了生图,就不再显示前面那张失败卡片,由后面的卡片接替。只有最后一次生图失败时,才显示失败卡片。sr-only),状态播报不受影响。失败和中断时的居中提示不变。只改了前端展示,不影响模型行为。
验证
GeneratedImages.test.tsx、AssistantResponseStack.test.tsx共 28 个测试通过。新增测试覆盖失败后重试只剩一张卡片的情况,并断言文字只对读屏可见。eslint 无报错。🤖 Generated with Claude Code