shaw
|
aeace0c5f0
|
fix: codex转发store默认false
|
2025-09-03 14:32:11 +08:00 |
|
shaw
|
b158a90b72
|
fix: 修复API统计和OpenAI路由问题
|
2025-09-03 10:54:11 +08:00 |
|
shaw
|
941cfacea9
|
fix: 优化多key查询费用错误问题
|
2025-09-03 10:29:12 +08:00 |
|
Feng Yue
|
1fc35197e1
|
Merge remote-tracking branch 'f3n9/dev' into dev-um-8
|
2025-09-03 09:45:52 +08:00 |
|
shaw
|
2e6feeb1c1
|
fix: 优化多key查询卡片
|
2025-09-03 09:45:13 +08:00 |
|
shaw
|
886ec35edc
|
feat: api-stats页面支持多key查询
|
2025-09-02 23:18:31 +08:00 |
|
Feng Yue
|
3860f7d9b3
|
update default limit of apikey number per user to one and disallow key deletion by default
|
2025-09-02 21:42:48 +08:00 |
|
shaw
|
81ad098678
|
fix: 修复apikeys页面的一些bug
|
2025-09-02 21:38:54 +08:00 |
|
sczheng189
|
9c7ec8758d
|
resolve: 解决与upstream/dev的合并冲突
- 合并admin.js中的groupIds和autoStopOnWarning参数
- 统一AccountForm.vue中的错误提示文案和平台判断逻辑
- 保留AccountsView.vue中的分组过滤和ungrouped功能
- 确保Azure OpenAI账户创建和更新逻辑完整性
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-09-02 20:32:42 +08:00 |
|
sczheng189
|
945e0ac198
|
refactor: 精简Azure OpenAI多分组功能实现
- 移除不必要的分组清理逻辑
- 简化组成员端点实现,使用简单的members.push()
- 移除OpenAI账户路由中的groupInfos添加
- 保持最小化修改原则,只保留必要的功能实现
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-09-02 20:21:24 +08:00 |
|
sczheng189
|
37e6c14eac
|
feat: 完善账户多分组功能和Azure OpenAI支持
主要功能:
- 实现账户多分组调度功能完整支持
- 修复Azure OpenAI账户优先级显示问题(前端条件判断缺失)
- 修复未分组筛选功能失效(API参数处理)
- 修复Azure OpenAI账户创建错误调用Gemini API的问题
- 完善各平台分组信息支持和使用统计显示
- 统一删除账户时的分组清理逻辑
- 添加前端请求参数处理支持
技术改进:
- 前端支持多平台账户请求构造
- 后端统一groupInfos返回格式
- API客户端完善查询参数处理
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-09-02 20:16:20 +08:00 |
|
Feng Yue
|
5ee98597e7
|
fix get userlist issue
|
2025-09-02 18:40:16 +08:00 |
|
Feng Yue
|
7a9e4abdd5
|
admin now is able to reassign apikey to admin/user
|
2025-09-02 17:17:06 +08:00 |
|
Feng Yue
|
e973158472
|
show owner's name in apikey management page
|
2025-09-02 16:16:43 +08:00 |
|
shaw
|
86c243e1a4
|
fix: 修复loading动画错误
|
2025-09-02 11:51:38 +08:00 |
|
Feng Yue
|
68603bc046
|
Merge branch 'dev' into um-5
|
2025-09-01 12:19:53 +08:00 |
|
shaw
|
5cfa3cc72f
|
feat: 添加精确的账户费用计算和时区支持
- 实现基于模型使用量的精确每日费用计算
- 添加 dateHelper 工具支持时区转换
- 移除未使用的 webhook 配置代码
- 清理环境变量和配置文件中的 webhook 相关设置
- 优化前端费用显示,使用后端精确计算的数据
- 添加 DEBUG_HTTP_TRAFFIC 调试选项支持
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-09-01 11:29:16 +08:00 |
|
Feng Yue
|
50b372473c
|
Merge remote-tracking branch 'f3n9/main' into um-5
|
2025-08-31 23:12:46 +08:00 |
|
shaw
|
9a46310238
|
fix: 修复会话窗口使用统计问题
|
2025-08-31 20:14:12 +08:00 |
|
shaw
|
e84c6a5555
|
feat: 实现基于费用的速率限制功能
- 新增 rateLimitCost 字段,支持按费用进行速率限制
- 新增 weeklyOpusCostLimit 字段,支持 Opus 模型周费用限制
- 优化速率限制逻辑,支持费用、请求数、token多维度控制
- 更新前端界面,添加费用限制配置选项
- 增强账户管理功能,支持费用统计和限制
- 改进 Redis 数据模型,支持费用计数器
- 优化价格计算服务,支持更精确的成本核算
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-08-31 17:27:37 +08:00 |
|
Feng Yue
|
01274a6a96
|
Revert "add logs to fix azure request issue"
This reverts commit 2cf2574ebe.
|
2025-08-31 01:37:48 +08:00 |
|
Feng Yue
|
87c2f1dfe2
|
Revert "fix azure endpoint and api version issue"
This reverts commit 92f4fbcef3.
|
2025-08-31 01:37:18 +08:00 |
|
Feng Yue
|
7c4cbe6ed7
|
Revert "add debug log for headers and body of Azure OpenAI requests"
This reverts commit 70c8cb5aff.
|
2025-08-31 01:36:13 +08:00 |
|
Feng Yue
|
bf732b9525
|
Partially Revert "fix azure openai usage count issue"
This reverts commit dc3d311def.
|
2025-08-31 01:34:40 +08:00 |
|
Feng Yue
|
b00d0eb9e1
|
use proxy if configured in all Gemini API requests
|
2025-08-31 01:21:25 +08:00 |
|
Feng Yue
|
dc3d311def
|
fix azure openai usage count issue
|
2025-08-30 20:45:01 +08:00 |
|
shaw
|
a54622e3d7
|
Revert "Merge pull request #292 from iRubbish/dev"
This reverts commit 9e8e74ce6b, reversing
changes made to 222f4e44fe.
|
2025-08-30 20:09:41 +08:00 |
|
Feng Yue
|
70c8cb5aff
|
add debug log for headers and body of Azure OpenAI requests
|
2025-08-30 19:25:06 +08:00 |
|
Feng Yue
|
92f4fbcef3
|
fix azure endpoint and api version issue
|
2025-08-30 18:55:24 +08:00 |
|
Feng Yue
|
2cf2574ebe
|
add logs to fix azure request issue
|
2025-08-30 18:46:46 +08:00 |
|
Feng Yue
|
34629a9bb2
|
add support of gpt-5, gpt-5-mini and codex-mini models in Azure
|
2025-08-30 17:17:05 +08:00 |
|
Feng Yue
|
c638c8b82c
|
Merge remote-tracking branch 'f3n9/main' into um-5
|
2025-08-30 15:39:33 +08:00 |
|
zjpyb
|
43cf7d3c28
|
fix: 修复Gemini v1beta非流式响应数据结构问题
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-08-28 08:43:48 +08:00 |
|
zjpyb
|
7c3257764c
|
fix: 修复Gemini v1beta流式响应中断问题
- 优化SSE流式响应处理逻辑,修复客户端接收第一条消息后断开连接的问题
- 统一流处理缓冲区,正确处理不完整的SSE行
- v1beta版本返回response字段内容,v1internal保持原始转发
- 移除调试日志输出,提升生产环境稳定性
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-08-28 08:43:48 +08:00 |
|
zjpyb
|
7ce55c006e
|
fix: Gemini原生接口没获取到modelName #295
|
2025-08-28 08:43:48 +08:00 |
|
Wesley Liddick
|
9e8e74ce6b
|
Merge pull request #292 from iRubbish/dev
feat: 新增AD域控用户认证系统
|
2025-08-28 08:43:21 +08:00 |
|
zjpyb
|
79c7d1d116
|
fix: 修复Gemini v1beta非流式响应数据结构问题
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-08-28 03:04:52 +08:00 |
|
zjpyb
|
fb57cfd293
|
fix: 修复Gemini v1beta流式响应中断问题
- 优化SSE流式响应处理逻辑,修复客户端接收第一条消息后断开连接的问题
- 统一流处理缓冲区,正确处理不完整的SSE行
- v1beta版本返回response字段内容,v1internal保持原始转发
- 移除调试日志输出,提升生产环境稳定性
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-08-28 02:38:01 +08:00 |
|
zjpyb
|
a7009e6864
|
fix: Gemini原生接口没获取到modelName #295
|
2025-08-28 00:03:34 +08:00 |
|
iRubbish
|
8a5d4b5d8f
|
feat: 完善AD域控用户系统,增加配置说明
- 完善用户API Key创建流程,移除名称编辑权限
- 清理硬编码敏感信息,改用环境变量配置
- 在README.md和.env.example中添加AD域控配置说明
- 修复ESLint no-shadow错误
- 删除测试文件test-fixed-auto-link.js
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-08-26 15:55:13 +08:00 |
|
iRubbish
|
82f545c3b0
|
保存当前API Key管理功能的修改
- 统一用户创建和admin创建API Key的逻辑
- 修复admin更新用户创建的API Key功能
- 用户创建API Key名称改为displayName
- 默认无限制配置
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-08-26 13:42:02 +08:00 |
|
sczheng189
|
e69ab2161d
|
feat: 实现账户多分组调度功能
- 添加账户分组管理功能,支持创建、编辑、删除分组
- 实现基于分组的账户调度逻辑
- 添加分组权重和优先级支持
- 提供测试脚本验证多分组调度功能
- 修复代码格式化问题(统一使用LF换行符)
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-08-25 20:11:18 +08:00 |
|
iRubbish
|
f31f7c9385
|
feat: 实现历史API Key自动关联功能
核心功能:
- AD用户登录时自动关联已存在的历史API Key
- 关联规则: API Key name字段与用户displayName完全匹配
- 自动设置owner字段完成关联,避免用户重新创建Key
实现逻辑:
1. 优先匹配owner字段(已关联的Key)
2. 如无owner匹配,尝试匹配name与displayName
3. 找到匹配历史Key后,自动设置owner完成关联
技术特性:
- 详细日志记录关联过程
- 支持JWT token中完整用户信息传递
- Redis数据自动更新owner字段
- 系统迁移兼容性处理
测试验证:
- 创建测试历史Key验证自动关联
- JWT token正确解析displayName字段
- Redis数据正确更新owner关联关系
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-08-25 18:19:33 +08:00 |
|
iRubbish
|
7624c383e8
|
feat: 完整实现AD域控用户认证系统
主要功能:
- 新增LDAP服务连接AD域控服务器
- 实现多格式AD用户认证(sAMAccountName, UPN, 域\用户名, DN)
- 支持中文显示名和拼音用户名搜索
- 添加用户账户状态检查(禁用账户检测)
- 实现JWT token认证和用户会话管理
新增文件:
- src/services/ldapService.js - LDAP核心服务
- src/routes/ldapRoutes.js - AD认证API路由
- src/services/userMappingService.js - 用户映射服务
- web/admin-spa/src/views/UserDashboardView.vue - 用户控制台
- web/admin-spa/src/components/user/ - 用户组件目录
修改功能:
- ApiStatsView.vue 增加用户登录按钮和模态框
- 路由系统增加用户专用页面
- 安装ldapjs和jsonwebtoken依赖
技术特性:
- 多种认证格式自动尝试
- LDAP referral错误处理
- 详细认证日志和错误码记录
- 前后端完整用户认证流程
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-08-25 18:03:55 +08:00 |
|
Feng Yue
|
d5f5e0f4dd
|
Merge branch 'main' into um-5
|
2025-08-25 17:19:24 +08:00 |
|
shaw
|
5c5548e839
|
fix: 修复openai Team订阅无法转发codex的问题
|
2025-08-24 17:48:09 +08:00 |
|
shaw
|
b426a759a8
|
feat: 支持后台配置webhook
|
2025-08-23 20:20:32 +08:00 |
|
shaw
|
74bcb99142
|
feat: 新增支持Azure OpenAI账户
|
2025-08-23 10:30:29 +08:00 |
|
iRubbish
|
ee93018c20
|
增加 API keys 批量编辑管理
|
2025-08-22 16:12:04 +08:00 |
|
shaw
|
102fc54e8e
|
fix: 修复gemini转发代理ip未使用的问题
|
2025-08-21 10:55:05 +08:00 |
|