-
Notifications
You must be signed in to change notification settings - Fork 5
feat(video): 接入 Agnes Video 2.5 与 Token Plan Flash #820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
562b8eb
feat(video): 接入 Agnes Video 2.5 主模型
xyh202131 c912997
feat(video): 支持 Agnes 2.5 Flash Token Plan
xyh202131 3293296
fix(video): 等待 Agnes 成片地址回填
xyh202131 da4240c
fix(video): 兼容 Agnes Flash 顶层成片地址
xyh202131 1a116e7
fix(video): 隔离 Agnes 共享熔断范围
xyh202131 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[P1] 在路由熔断前放行独立的 Agnes 提交
这里仅在 Agnes 已经进入型号循环、提交失败后才把
OPEN_AGGREGATOR/FALLBACK_KEY改为型号降级,但i2v()在此之前会先检查aggregator、base_url:<Modelink route>和 key 熔断并直接失败或跳过整条 route。生产装配复用共享_CIRCUIT,因此一次 Kling/Modelink 未达上游打开base_url:qnaigc-primary(或全局aggregator)后,即使 Agnes 使用完全独立的 URL/key,后续以 Agnes 为主模型的请求也不会调用 Agnes adapter;单 route 配置下会直接报错。这破坏了本 PR 的凭证/服务隔离和主模型可用性,应让 Agnes 绕过 Modelink route/key/aggregator 熔断,或为 Agnes 建立独立 route/circuit scope。There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已在 1a116e7 修复:将 aggregator、base_url 与 key 的熔断判定下沉到具体型号层;Agnes 仅绕过 Modelink 共享熔断,仍受自身 model 熔断约束,Kling 等型号继续遵守原共享熔断。新增三种共享 scope 的放行测试,并验证 Agnes 失败后不会绕过熔断提交 Kling。完整后端测试 1850 passed、14 skipped,ruff、import-linter 与 diff check 均通过。