Repository navigation
feat(console): 接入页主区放大为多轮对话 - #392
Merged
Merged
Conversation
布局改为大对话框为主、原始 API 折叠在下;streamChat 解析 reasoning_content 与 tool_calls。参考 affectUI 信息结构,用现有 HeroUI/灰度 patterns 自建,未引入 affectUI 包。
副标题仍写「单轮」,与 #392 主区多轮对话不一致。
Move account/model into the composer footer with a round send control, soften thinking/tool/attachment hierarchy, and add ?demo=1 / Preview sample.
Parse usage.credits from the chat SSE stream and render it under the assistant bubble. Demo seed includes a sample amount for preview.
Collapse thinking to a shimmer pill, group tool calls, tighten composer selects (menus open upward), soft assistant bubbles with copy + token/credits foot, and quieter alerts/endpoint cards.
Lets ?demo=1 / ?demo=thinking open composer menus for visual QA without writing real accounts into the preview database.
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.
摘要
reasoning_content(可折叠思考)与tool_calls(工具卡片)。image_url;是否生效取决于上游供应商)。验证
cd frontend && npm run build已通过刻意未做
whitespace-pre-wrap)