Repository navigation
Conversation
- 配置页与路由组页把账号在途数汇总到画布节点,承载在途请求的连线高亮为实线描边加虚线流动动画 - 画布指标三秒轮询,只更新工作区快照,不冲掉未保存草稿 - 路由指标按客户端、网关与上游三个模型名匹配,修复使用模型别名时在途连线不高亮 - 参与列表顶部补留白,修复整组拖到第一位时落点横条被滚动容器裁剪 - 图例补充连线高亮含义,六语词典同步新增文案并重建产物
Owner
|
新版本已添加 |
awsl1414
added a commit
to awsl1414/Agent2API
that referenced
this pull request
Nov 12, 2026
接收 aimod-cc/Agent2API PR aimod-cc#560(作者 mojie126)与 PR aimod-cc#494 的残值:路由指标和历史回放统一按 model、client_model、upstream_model 三个名字匹配,与模型请求日志的筛选口径一致。 在作者 4 条回归用例之外补 upstream_model 独立命中、空筛选与空 upstream_model 错误路径用例;6 条行为断言覆盖回归、边界与错误路径。门禁:node scripts/cargo-test.mjs 333 passed / 0 failed,rust-tests-ci 8 项通过;单 Rust 文件,六语、install 文档、前端产物、移动端与插件侧无需同步。 Co-Authored-By: mojie126 Co-Authored-By: Claude Code <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.
背景
路由配置页的画布连线此前只表达「参与关系」,有请求正在某个提供商或成员上跑时没有任何视觉反馈,排查「这一单到底谁在承载」只能去请求回放页翻。
改动
metrics.accountRunning汇总到画布节点(配置页按提供商、路由组页按成员),承载在途请求的连线改为主题色加粗描边并叠加虚线流动动画,端点圆点同步变色;系统偏好减少动态效果时停用动画,保留描边refresh,三秒轮询只替换 workspace 快照、不碰未保存草稿;页面不可见、不在路由页、有弹窗或正在保存时跳过trace模块)同一口径,修复客户端使用带后缀别名(例如DeepSeek-V4.1-Flash(low))时模型独立范围的在途连线不高亮、提供商卡片请求数恒为 0验证
cargo test request_stats::routing:新增 3 个模型匹配回归用例,14 passed; 0 failed(在包含本轮全部改动的分支上实测)cargo check -p agent2api-server --lib:通过一点提示:上游
e8bed73的测试代码有 4 处编译不过(#[cfg(test)]内,与本 PR 无关):api/pipeline.rs:1234的RequestQuery初始化缺api_key/client/completed_only等字段、core/cloud_sync/settings.rs:463与:479的WebDavConfig缺user_agent、core/upstream/provider_loop/tests.rs:330调用参数少两个。库本体编译正常,只有跑cargo test会撞见。🤖 本条回复由 AI Agent 生成
Generated by an AI agent.