Skip to content

feat: 最新版创意工作台与 Console 限流修复 - #641

Merged
chenyme merged 7 commits into
chenyme:mainfrom
TizenryA:feat/creative-console-latest
Jul 16, 2026
Merged

feat: 最新版创意工作台与 Console 限流修复#641
chenyme merged 7 commits into
chenyme:mainfrom
TizenryA:feat/creative-console-latest

Conversation

@TizenryA

Copy link
Copy Markdown
Contributor

中文

修复内容

  • 基于最新上游 main 重新集成创意工作台,保留对话、生图、视频及移动端支持。
  • 修复 Console 上游按 Team + 模型触发的 RPS/RPM 429:识别上游限流维度、遵循 Retry-After,并在短期熔断期间停止无效账号轮换。
  • 瞬时 RPS/RPM 限流不再清零账号小时额度,也不会误判为账号配额耗尽。
  • Team ID 仅以不可逆指纹写入日志。
  • 保留 Grok Web 错误响应缺少 Request 元数据时的空指针保护。

验证

  • 前端测试、TypeScript、ESLint、生产构建通过。
  • 后端 go test ./...go vet ./...、Go 构建通过。
  • 独立数据库副本与独立端口容器验证通过。
  • /creative-console 返回 200,创意工作台构建资产存在。
  • Console RPM 429 首次请求返回 Retry-After: 60;第二次命中本地 Team+模型熔断,没有继续轮换账号。
  • Hostdzire 生产健康检查通过。

English

Changes

  • Rebased the Creative Console onto the latest upstream main, preserving chat, image, video, and mobile support.
  • Correctly classifies Console Team+model RPS/RPM 429 responses, honors Retry-After, and prevents wasteful credential failover while the shared bucket is cooling down.
  • Transient RPS/RPM limits no longer zero hourly account quota or masquerade as quota exhaustion.
  • Logs only an irreversible Team fingerprint.
  • Preserves the Grok Web nil-request panic guard.

Verification

  • Frontend tests, TypeScript, ESLint, and production build passed.
  • Backend full tests, vet, and build passed.
  • Verified with an isolated database copy and candidate port.
  • /creative-console returned 200 and the Creative Console asset was present.
  • First Console RPM 429 returned Retry-After: 60; the second request hit the local Team+model circuit without credential rotation.
  • Production health check passed.

@chenyme
chenyme merged commit 2361748 into chenyme:main Jul 16, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants