feat: 新增用量统计看板,修复大图并发上传崩溃及预览图刷新消失问题#21
Merged
Merged
Conversation
- 引入完整的 usage_tracker 用量统计单例与可视化看板 - 将 Files API 上传限时放大到 600 秒,解决大图并发引起的降级雪崩互相抢占 - 新增 LoadImage 前端兜底刷新钩子,修复原生节点重启不显示缩略图毛病 - 引入图像降采样绘制策略,降低大量读图时的画布内存占用
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.
核心更新说明
1. 新增 API 用量统计组件
引入了完整的底层 Token 统一记账拦截器,并配有悬浮可视化面板,可以精确统计多端点并发生图时的真实并发和额度损耗。
2. 大图传输防崩与缩略图优化