- 13 Mar, 2026 16 commits
-
-
erio authored
-
Wesley Liddick authored
feat(admin): add user spending ranking dashboard view
-
Wesley Liddick authored
fix: remove SSE termination marker from DefaultStopSequences
-
Wesley Liddick authored
fix(dashboard): prefer username over email prefix in recent usage chart
-
Wesley Liddick authored
fix(admin): default dashboard date range to today
-
shaw authored
-
Wesley Liddick authored
feat: 解耦计费正确性与 usage_logs 批量写压
-
Wesley Liddick authored
chore: codex transform fixes and feature compatibility
-
Wesley Liddick authored
feat(redeem): support subscription type in create-and-redeem API
-
erio authored
Add group_id and validity_days fields to CreateAndRedeemCodeRequest, enabling subscription-type redemption codes to be created and redeemed in a single API call. - Type defaults to "balance" when omitted for backward compatibility - Subscription type requires group_id (non-nil) and validity_days (>0) - Existing balance/concurrency callers are unaffected
-
Connie Borer authored
-
Peter authored
-
Wesley Liddick authored
feat(groups): add rate multipliers management modal
-
Wesley Liddick authored
fix: 管理员重置配额补全 monthly 字段并修复 ristretto 缓存异步问题 fix issue #964
-
haruka authored
- 后端 handler:ResetSubscriptionQuotaRequest 新增 Monthly 字段, 验证逻辑扩展为 daily/weekly/monthly 至少一项为 true - 后端 service:AdminResetQuota 新增 resetMonthly 参数, 调用 ResetMonthlyUsage;重置后追加 subCacheL1.Wait(), 保证 ristretto Del() 的异步删除立即生效,消除重置后 /v1/usage 返回旧用量数据的竞态窗口 - 后端测试:更新存量测试用例匹配新签名,补充 TestAdminResetQuota_ResetMonthlyOnly / TestAdminResetQuota_ResetMonthlyUsageError 两个新用例 - 前端 API:resetQuota options 类型新增 monthly: boolean - 前端视图:confirmResetQuota 改为同时重置 daily/weekly/monthly - i18n:中英文确认提示文案更新,提及每月配额 Co-Authored-By:Claude Sonnet 4.6 <noreply@anthropic.com>
-
Wesley Liddick authored
feat: GPT Private设置数据不用于训练
-
- 12 Mar, 2026 24 commits
-
-
Peter authored
-
erio authored
Add a dedicated modal in group management for viewing, adding, editing, and deleting per-user rate multipliers within a group. Backend: - GET /admin/groups/:id/rate-multipliers - list entries with user details - PUT /admin/groups/:id/rate-multipliers - batch sync (full replace) - DELETE /admin/groups/:id/rate-multipliers - clear all entries - Repository: GetByGroupID, SyncGroupRateMultipliers methods on user_group_rate_multipliers table (same table as user-side rates) Frontend: - New GroupRateMultipliersModal component with: - User search and add with email autocomplete - Editable rate column with local edit mode (cancel/save) - Batch adjust: multiply all rates by a factor - Clear all (local operation, requires save to persist) - Pagination (10/20/50 per page) - Platform icon with brand colors in group info bar - Unsaved changes indicator with revert option - Unit tests for all three backend endpoints
-
QTom authored
privacy_mode 改为由 TokenRefreshService 在 token 刷新后异步补设。 Co-Authored-By:Claude Opus 4.6 <noreply@anthropic.com>
-
QTom authored
-
yexueduxing authored
-
ius authored
-
ius authored
-
ius authored
-
wanXcode authored
-
ius authored
-
ius authored
-
kunish authored
The SSE stream termination marker string was incorrectly included in DefaultStopSequences, causing Gemini to prematurely stop generating output whenever the model produced text containing that marker. The SSE-level protocol filtering in stream_transformer.go already handles this marker correctly; it should not be a stop sequence for the model's text generation.
-
ius authored
-
ius authored
-
ius authored
-
ius authored
-
Wesley Liddick authored
fix Antigravity gemini thought signature fix
-
Wesley Liddick authored
精准收紧 accounts.extra 观测字段触发的调度重建
-
haruka authored
-
ius authored
-
ius authored
-
haruka authored
-
Wesley Liddick authored
fix: 修复gpt-5.2以上模型映射到gpt-5.2以下时verbosity参数引发的报错
-
Wesley Liddick authored
feat(admin): add metric toggle to usage charts
-