Commit Graph

1311 Commits

Author SHA1 Message Date
shaw
5a2199f9a9 fix: claude提示词检测逻辑修复 2025-09-23 16:29:17 +08:00
shaw
0ba048aced feat: 优化专属账号删除逻辑 2025-09-23 15:48:38 +08:00
github-actions[bot]
bd091ede61 chore: sync VERSION file with release v1.1.148 [skip ci] 2025-09-22 05:54:20 +00:00
shaw
86668c3de9 fix:修复1.1.147版本启动问题 2025-09-22 13:53:56 +08:00
shaw
22b5e89b1b docs: update README.md[skip ci] 2025-09-22 12:18:09 +08:00
shaw
6fb5330212 docs: update README.md[skip ci] 2025-09-22 12:16:36 +08:00
github-actions[bot]
fd77b00f26 chore: sync VERSION file with release v1.1.147 [skip ci] 2025-09-22 04:13:24 +00:00
shaw
ff73375f0a fix: 优化codex错误抛出 增强客户端限制条件 2025-09-22 11:56:54 +08:00
shaw
f9c397cc1f feat: api-stats页面增加周限总限查询 2025-09-21 14:22:34 +08:00
Zero Clover
92ce10e86b feat: add image label to link with repo
(cherry picked from commit 1cfa63fe005d53483db4891c56bfb586b8736a45)
2025-09-21 07:41:03 +08:00
Zero Clover
6f1c6e5c95 feat: publish image to ghcr.io 2025-09-21 07:14:11 +08:00
github-actions[bot]
c5ce32e029 chore: sync VERSION file with release v1.1.146 [skip ci] 2025-09-20 14:08:06 +00:00
shaw
588b181eb9 fix: 修复服务账户数量少了response账户 2025-09-20 22:03:43 +08:00
shaw
3628bb2b7a fix: 修复openai输入token计算问题 2025-09-20 21:43:48 +08:00
shaw
08c2b7a444 fix: 修复PR #458中的totalCostLimit功能问题
主要修复:
- 移除重复的totalUsageLimit字段,统一使用totalCostLimit
- 删除auth.js中重复的总费用限制检查逻辑
- 删除admin.js中重复的totalCostLimit验证代码
- 更新所有前端组件,移除totalUsageLimit引用

功能改进:
- 确保totalCostLimit作为永久累计费用限制正常工作
- 与dailyCostLimit(每日重置)功能互补
- 适用于预付费、一次性API Key场景

测试:
- 删除有逻辑错误的test-total-usage-limit.js
- 创建新的test-total-cost-limit.js验证功能正确性
- 所有测试通过,功能正常工作

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-20 17:37:20 +08:00
Wesley Liddick
398f00c4cb Merge pull request #458 from itzhan/main
feat: 给key增加总用量限制
2025-09-20 09:26:50 +08:00
itzhan
df634a4565 chore: fix lint formatting 2025-09-20 09:20:18 +08:00
itzhan
a929ff4242 chore: fix prettier formatting 2025-09-20 08:27:41 +08:00
itzhan
200149b9ee chore: fix prettier formatting 2025-09-19 22:41:46 +08:00
itzhan
ec28b66e7f feat: 给key增加总用量限制 2025-09-19 21:57:24 +08:00
github-actions[bot]
4d78471891 chore: sync VERSION file with release v1.1.145 [skip ci] 2025-09-18 12:04:15 +00:00
shaw
6e98c46371 fix: 修复oai代理密码保存问题 2025-09-18 19:47:09 +08:00
github-actions[bot]
e9559eec6b chore: sync VERSION file with release v1.1.144 [skip ci] 2025-09-18 09:40:15 +00:00
shaw
43cfb0f4f3 fix: 修复openai账号代理问题 2025-09-18 17:39:45 +08:00
shaw
507336a1ff docs: 更新codex配置示例[skip ci] 2025-09-18 15:11:43 +08:00
shaw
6f302069ab docs: 更新codex配置示例[skip ci] 2025-09-18 15:05:22 +08:00
shaw
3a407f5c3e docs: update README [skip ci] 2025-09-18 10:46:40 +08:00
github-actions[bot]
7fc3919034 chore: sync VERSION file with release v1.1.143 [skip ci] 2025-09-18 02:23:39 +00:00
shaw
f70c3babc9 fix: 修复编辑oai账号是代理IP被错误保存的问题 2025-09-18 10:22:41 +08:00
shaw
0881cc09e2 Merge branch 'main' into dev 2025-09-16 14:32:50 +08:00
Wesley Liddick
5a1d812e69 Merge pull request #444 from wfunc/main [skip ci]
feat: 新增 telegram 通知
2025-09-16 14:31:29 +08:00
wfunc
f2dc834bba feat: 新增 telegram 通知 2025-09-16 11:44:39 +08:00
github-actions[bot]
932b0e3f9d chore: sync VERSION file with release v1.1.142 [skip ci] 2025-09-16 02:41:18 +00:00
shaw
ae4bbe8253 docs: 更新codex默认模型示例 2025-09-16 10:40:58 +08:00
shaw
77337bb266 docs: 更新codex默认模型示例 2025-09-16 10:36:07 +08:00
github-actions[bot]
44ea1f0077 chore: sync VERSION file with release v1.1.141 [skip ci] 2025-09-16 01:30:18 +00:00
shaw
51cb92d395 feat: 适配gpt-5-codex模型 2025-09-16 09:01:41 +08:00
github-actions[bot]
646e62d6be chore: sync VERSION file with release v1.1.140 [skip ci] 2025-09-14 04:24:24 +00:00
shaw
c0d6ecefac fix: 修复限流状态判断逻辑,兼容对象和字符串格式
- 修复 cleanupOpenAIAccounts 方法中 rateLimitStatus 判断问题
- 修复 cleanupClaudeConsoleAccounts 方法中的判断逻辑
- 优化 unifiedOpenAIScheduler 的 _isRateLimited 辅助方法
- 保持原始服务层数据获取方式,通过判断逻辑适配不同数据格式

问题原因:服务层返回的 rateLimitStatus 是对象格式,但清理逻辑使用字符串比较,
导致限流账户无法被正确检测和自动恢复。

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-14 12:20:10 +08:00
shaw
158a9b9a31 feat: 优化API Key批量创建和账户限流状态显示
- 添加 bedrockAccountId 和 rateLimitCost 字段到批量创建 API Key 功能
- 格式化 claudeAccountService 中的日志输出
- 改进账户视图中会话进度条样式,限流状态显示红色

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-14 11:59:09 +08:00
shaw
aabf909c61 fix:修复限流后未自动恢复调度的问题 2025-09-13 22:24:56 +08:00
github-actions[bot]
4a568f75bb chore: sync VERSION file with release v1.1.139 [skip ci] 2025-09-12 03:49:21 +00:00
shaw
b7da43f615 fix: 修复部分账号转发gemini api失败的问题 2025-09-12 11:41:14 +08:00
shaw
9c4dc714f8 Revert "Merge pull request #424 from Wangnov/feat/i18n"
This reverts commit 1d915d8327, reversing
changes made to 009f7c84f6.
2025-09-12 09:21:53 +08:00
Wesley Liddick
1d915d8327 Merge pull request #424 from Wangnov/feat/i18n
feat: 完整国际化支持 - Web 管理界面多语言实现
2025-09-12 09:00:30 +08:00
Wangnov
af8350b850 fix: 修复自动生成文件的 Prettier 格式问题
修复 auto-imports.d.ts 和 components.d.ts 的代码格式问题,
确保通过 CI 的 Prettier 格式检查。
2025-09-12 00:32:20 +08:00
Wangnov
a039d817db chore: 优化国际化文件格式,移除多余空行
- 统一三个语言文件的代码格式
- 移除多余的空行以保持代码整洁
2025-09-12 00:04:11 +08:00
Wangnov
ebafbdcc55 feat: 移除未使用的组件声明以优化类型定义
- 从 components.d.ts 文件中移除了多个未使用的组件声明,提升了类型定义的清晰度和可维护性。
- 此变更有助于减少代码冗余,确保组件声明与实际使用保持一致。
2025-09-12 00:04:11 +08:00
Wangnov
67e72f1aaf feat: 更新 Element Plus 语言配置处理方式
- 移除了 main.js 中对 zhCn 语言包的直接引用,改为在 App.vue 中通过 ElConfigProvider 处理语言配置。
- 这一变更提升了国际化的灵活性和可维护性,确保语言设置集中管理。
2025-09-12 00:04:11 +08:00
Wangnov
99d72516ae feat: 完成 AccountForm.vue 组件的国际化文本替换
- 将多个文本替换为 i18n 语言包中的键,以提升多语言支持和一致性。
- 更新了模型支持描述、用户代理描述、凭证文件描述等文本内容。
- 通过引入 i18n 键,增强了用户界面的可读性和可维护性。
2025-09-12 00:04:11 +08:00