mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-23 09:38:02 +00:00
feat: 添加 Opus 限流状态显示
- 在账户列表中显示 Opus 限流状态徽章 - 显示限流剩余时间(天/小时) - 后端 API 添加 opusRateLimitedAt 和 opusRateLimitEndAt 字段 - 优化徽章样式,防止文字溢出
This commit is contained in:
@@ -528,7 +528,10 @@ class ClaudeAccountService {
|
||||
useUnifiedClientId: account.useUnifiedClientId === 'true', // 默认为false
|
||||
unifiedClientId: account.unifiedClientId || '', // 统一的客户端标识
|
||||
// 添加停止原因
|
||||
stoppedReason: account.stoppedReason || null
|
||||
stoppedReason: account.stoppedReason || null,
|
||||
// 添加 Opus 限流信息
|
||||
opusRateLimitedAt: account.opusRateLimitedAt || null,
|
||||
opusRateLimitEndAt: account.opusRateLimitEndAt || null
|
||||
}
|
||||
})
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user