mouyong
|
74f428d990
|
feat: gemini 流式响应
|
2025-08-04 22:57:31 +08:00 |
|
mouyong
|
49221dfbc5
|
feat: gemini 流式响应
|
2025-08-04 22:45:11 +08:00 |
|
mouyong
|
08a962833b
|
feat: gemini 流式响应
|
2025-08-04 22:38:58 +08:00 |
|
mouyong
|
ae9f6158d1
|
feat: gemini 流式响应
|
2025-08-04 22:37:06 +08:00 |
|
mouyong
|
f2312893d4
|
feat: gemini 流式响应
|
2025-08-04 22:36:36 +08:00 |
|
github-actions[bot]
|
50ebf38140
|
chore: sync VERSION file with release v1.1.73 [skip ci]
|
2025-08-04 13:52:40 +00:00 |
|
Wesley Liddick
|
0b690235cf
|
Merge pull request #170 from mouyong/dev-local
处理 openai 格式请求调用 gemini 的问题
|
2025-08-04 21:52:28 +08:00 |
|
mouyong
|
c36ae32928
|
Merge branch 'main' of github.com:Wei-Shaw/claude-relay-service
* 'main' of github.com:Wei-Shaw/claude-relay-service:
chore: sync VERSION file with release v1.1.72 [skip ci]
fix: 修复账户管理和API Key管理的多个问题
fix: 修复 GitHub Actions 版本检测对合并提交的处理
|
2025-08-04 20:34:38 +08:00 |
|
mouyong
|
54ad8452c3
|
feat: gemini 流式响应
|
2025-08-04 20:34:17 +08:00 |
|
github-actions[bot]
|
6427dcc855
|
chore: sync VERSION file with release v1.1.72 [skip ci]
|
2025-08-04 10:45:38 +00:00 |
|
shaw
|
07cec05efc
|
Merge branch 'dev'
|
2025-08-04 18:45:08 +08:00 |
|
shaw
|
a69d1ae1dd
|
fix: 修复账户管理和API Key管理的多个问题
- 修复 Claude Console 账号 supportedModels 导致的 be.join 错误
- 添加专属账号选择器组件,支持搜索和按创建时间倒序排序
- 修复搜索框图标与placeholder文字重叠的问题
- 修复选择共享账号池后显示文字不正确的问题
- 优化下拉框定位逻辑,解决超出视窗无法滚动的问题
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-08-04 18:44:36 +08:00 |
|
mouyong
|
2eee902988
|
feat: 处理 openai 格式请求
|
2025-08-04 18:20:39 +08:00 |
|
shaw
|
45f9ac0da7
|
Merge branch 'dev'
|
2025-08-04 17:49:18 +08:00 |
|
shaw
|
8ece285f5f
|
fix: 修复 GitHub Actions 版本检测对合并提交的处理
问题:
- 之前的版本检测逻辑使用 HEAD~1..HEAD 只能获取直接的父提交变更
- 对于合并提交,这会导致忽略所有合并进来的实际代码变更
- 导致明明有重要代码更新却显示 "No significant changes"
解决方案:
- 添加合并提交检测逻辑
- 对于合并提交,获取从合并基准点到 HEAD 的所有变更
- 确保所有合并进来的文件变更都被正确检测
这样可以确保版本自动发布工作流正确识别所有代码变更。
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-08-04 17:48:44 +08:00 |
|
mouyong
|
327d14bd5e
|
Merge branch 'main' of github.com:Wei-Shaw/claude-relay-service
* 'main' of github.com:Wei-Shaw/claude-relay-service:
fix: 修复 Gemini 统计功能的多个问题
fix: 修复API Keys页面时间窗口进度条和Token数值显示问题
chore: 清理 dist 目录
|
2025-08-04 17:42:08 +08:00 |
|
mouyong
|
c8f2abfedc
|
feat: 处理 openai 格式请求
|
2025-08-04 17:40:57 +08:00 |
|
shaw
|
fb93d866d4
|
Merge branch 'main' of github.com:Wei-Shaw/claude-relay-service
|
2025-08-04 17:36:28 +08:00 |
|
shaw
|
2ad5d02468
|
fix: 修复 Gemini 统计功能的多个问题
主要修复:
1. geminiRoutes.js 主端点现在使用统一调度器(unifiedGeminiScheduler)
- 支持模型过滤
- 支持账户调度控制
- 与 Claude 保持一致的调度逻辑
2. 修复 Gemini 账户统计数据获取
- admin 路由现在正确获取 Gemini 账户的使用统计
- 使用 redis.getAccountUsageStats 获取真实数据
- 与 Claude 账户统计逻辑保持一致
这些修复确保了 Gemini 服务的数据统计功能正常工作,包括:
- 请求次数统计
- Token 使用量统计
- 模型级别的统计数据
- API Keys 页面和账户管理页面的数据显示
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-08-04 17:35:15 +08:00 |
|
shaw
|
63f92bec84
|
Merge branch 'main' into dev
|
2025-08-04 16:54:32 +08:00 |
|
github-actions[bot]
|
e2f787956b
|
chore: sync VERSION file with release v1.1.71 [skip ci]
|
2025-08-04 08:54:19 +00:00 |
|
shaw
|
ef4f7483d3
|
feat: 完善 Gemini 功能与 Claude 保持一致
- 添加 Gemini 账户的 schedulable 字段和调度开关 API
- 实现 Gemini 调度器的模型过滤功能
- 完善 Gemini 数据统计,记录 token 使用量
- 修复 Gemini 流式响应的 SSE 解析和 AbortController 支持
- 在教程页面和 README 中添加 Gemini CLI 环境变量说明
- 修复前端 Gemini 账户调度开关限制
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-08-04 16:53:11 +08:00 |
|
mouyong
|
15b4efa353
|
feat: 处理sse传输
|
2025-08-04 15:52:14 +08:00 |
|
mouyong
|
254fa5aef7
|
feat: 处理sse传输
|
2025-08-04 15:48:09 +08:00 |
|
mouyong
|
0e5a49c86f
|
feat: 处理sse传输
|
2025-08-04 15:46:16 +08:00 |
|
github-actions[bot]
|
7ec1d57288
|
chore: sync VERSION file with release v1.1.70 [skip ci]
|
2025-08-04 06:03:15 +00:00 |
|
Wesley Liddick
|
3da3582e61
|
Merge pull request #167 from qyinter/main
feat: 增强 Gemini 服务支持并添加统一调度器
|
2025-08-04 14:03:05 +08:00 |
|
千羽
|
9625e7f490
|
Merge branch 'Wei-Shaw:main' into main
|
2025-08-04 14:47:32 +09:00 |
|
千羽
|
33837c23aa
|
feat: 增强 Gemini 服务支持并添加统一调度器
- 新增 unifiedGeminiScheduler.js 统一账户调度服务
- 增强 geminiRoutes.js 支持更多 Gemini API 端点
- 优化 geminiAccountService.js 账户管理和 token 刷新机制
- 添加对 v1internal 端点的完整支持(loadCodeAssist、onboardUser、countTokens、generateContent、streamGenerateContent)
- 改进错误处理和流式响应管理
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-08-04 14:47:03 +09:00 |
|
github-actions[bot]
|
4cc0fec8b2
|
chore: sync VERSION file with release v1.1.69 [skip ci]
|
2025-08-04 04:48:39 +00:00 |
|
shaw
|
8280999143
|
Merge branch 'main' into dev
|
2025-08-04 12:48:38 +08:00 |
|
shaw
|
be98d5c498
|
fix: 修复账户管理页面移动端布局数据显示问题
- 修复移动端数据路径不一致问题(usage.dailyRequests -> usage.daily.requests)
- 增强移动端会话窗口显示,添加进度百分比、时间窗口和剩余时间
- 改进会话窗口UI,使用卡片样式更清晰展示信息
- 检查确认API Keys页面无类似问题
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-08-04 12:48:15 +08:00 |
|
shaw
|
53d28adbd3
|
Merge branch 'main' of github.com:Wei-Shaw/claude-relay-service
|
2025-08-04 12:02:35 +08:00 |
|
shaw
|
823c7d6599
|
Merge branch 'main' into dev
|
2025-08-04 11:58:48 +08:00 |
|
shaw
|
fce6d8e1ac
|
fix: 修复仪表盘和API统计页面的多个问题
- 修复仪表盘天粒度下7天/30天快捷选择无数据的问题
- 修复API Keys页面统计按钮链接路由错误(admin -> admin-next)
- 改进统计页面限制展示,使用3个进度条更直观显示使用情况
- 后端API响应增加当前使用量数据(currentWindowRequests/Tokens/DailyCost)
- 修复教程页面window.location.origin为空的兼容性问题
- 无限制时使用无穷符号(∞)展示,提升用户体验
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-08-04 11:58:26 +08:00 |
|
github-actions[bot]
|
4413a02964
|
chore: sync VERSION file with release v1.1.68 [skip ci]
|
2025-08-04 03:00:19 +00:00 |
|
shaw
|
4e3c826b6c
|
fix: 修复API Keys页面时间窗口进度条和Token数值显示问题
- 修复时间窗口限制的请求次数和Token使用量进度条不更新的问题
- 在apiKeyService.getAllApiKeys()中添加获取当前窗口统计数据的逻辑
- 从Redis读取rate_limit:requests和rate_limit:tokens键的值
- 优化Token数值展示,添加K/M单位格式化
- UsageDetailModal组件中5处Token数值改用formatTokenCount
- ApiKeysView模型统计中5处Token数值改用formatTokenCount
- 统一使用K/M单位简化大数字显示
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-08-04 10:55:17 +08:00 |
|
shaw
|
c6074bd244
|
fix: 修复API Keys页面时间窗口进度条和Token数值显示问题
- 修复时间窗口限制的请求次数和Token使用量进度条不更新的问题
- 在apiKeyService.getAllApiKeys()中添加获取当前窗口统计数据的逻辑
- 从Redis读取rate_limit:requests和rate_limit:tokens键的值
- 优化Token数值展示,添加K/M单位格式化
- UsageDetailModal组件中5处Token数值改用formatTokenCount
- ApiKeysView模型统计中5处Token数值改用formatTokenCount
- 统一使用K/M单位简化大数字显示
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-08-04 10:54:57 +08:00 |
|
shaw
|
6f2c9205aa
|
Merge branch 'main' into dev
|
2025-08-04 10:32:34 +08:00 |
|
shaw
|
52718ef608
|
chore: 更新项目配置文件
- 更新 Docker 配置和构建脚本
- 优化项目文档和部署脚本
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-08-04 10:32:22 +08:00 |
|
shaw
|
2ceac331dd
|
feat: 优化 API Keys 页面的分组显示和使用统计展示
- 修复分组调度显示,正确展示分组名称
- 重新设计使用统计列,添加进度条显示每日费用和窗口限制
- 创建使用详情弹窗组件,展示完整统计信息
- 优化时间窗口限制显示,支持请求次数和Token双维度进度条
- 改进移动端自适应布局
- 修复 ESLint 警告,提升代码质量
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-08-04 10:31:59 +08:00 |
|
shaw
|
e95ca78942
|
merge: 解决dist目录冲突,保持dist目录未跟踪状态
|
2025-08-04 09:28:01 +08:00 |
|
shaw
|
9ef18a72bd
|
chore: 停止跟踪 web/admin-spa/dist/ 构建文件
- 从 git 中移除 dist 目录的跟踪
- 这些文件由 GitHub Actions 自动构建生成
- 避免本地构建和远程构建之间的冲突
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-08-04 08:57:19 +08:00 |
|
github-actions[bot]
|
6d27dd7c94
|
chore: sync VERSION file with release v1.1.67 and rebuild frontend [skip ci]
|
2025-08-03 16:17:27 +00:00 |
|
千羽
|
a80b36896d
|
feat: 更新 Gemini OAuth 流程支持新的授权方式
- 使用 codeassist.google.com 作为新的回调地址
- 实现 PKCE 认证流程增强安全性
- 更新前端授权流程指引
- 简化授权码输入流程
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-08-04 00:16:29 +08:00 |
|
shaw
|
381e0ae945
|
chore: 清理 dist 目录
|
2025-08-04 00:14:30 +08:00 |
|
github-actions[bot]
|
7b54f187ee
|
chore: sync VERSION file with release v1.1.66 [skip ci]
|
2025-08-03 15:17:29 +00:00 |
|
shaw
|
29b331c7b4
|
fix: 修复 manage.sh 脚本软链接创建时的路径问题
- 修复找不到脚本文件 /root/claude-relay-service/app/manage.sh 的错误
- 优先使用项目中的 $APP_DIR/scripts/manage.sh 路径
- 改进 load_config 函数以支持不同的项目目录结构
- 添加 symlink 命令执行前的检查,确保 APP_DIR 已设置
- 增加详细的诊断信息输出,方便调试路径问题
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-08-03 23:17:05 +08:00 |
|
github-actions[bot]
|
5378cb8910
|
chore: sync VERSION file with release v1.1.65 and rebuild frontend [skip ci]
|
2025-08-03 14:49:11 +00:00 |
|
shaw
|
dcf175b366
|
fix: 修复 web/admin-spa 合并冲突和构建错误
- 恢复 web/admin-spa 目录到 dev 分支状态
- 修复 ApiKeysView.vue 中的重复变量声明问题
- 重新构建前端项目确保正常运行
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-08-03 22:48:20 +08:00 |
|