52 Commits

Author SHA1 Message Date
2ab9ded58f fix(proxy): 排除404状态码避免无意义重试
Some checks failed
Release Linux Build / release (push) Has been cancelled
Release Windows Build / release (push) Has been cancelled
Release MacOS Build / release (push) Has been cancelled
Build Docker Image / Build Docker Image (push) Has been cancelled
当请求资源不存在时,不代表key无效,反而可能错误地将key判断为无效,而且此时重试没有意义
2025-08-10 13:06:25 +08:00
tbphp
2be2ea697e feat: 请求日志添加模型字段 (#113)
* feat: 请求日志添加模型字段

* fix: 调整gemini判断模型顺序
2025-08-03 12:29:18 +08:00
tbphp
655b67eb5c refactor: 优化流式响应的性能和兼容性 2025-07-26 12:45:49 +08:00
tbphp
b9755700cc fix: 清理客户端auth key 2025-07-22 15:55:10 +08:00
tbphp
9c5933289a Merge pull request #17 from tbphp/fix-log-apikey-error
Fix log apikey error
2025-07-17 18:36:08 +08:00
tbphp
a64d48439f fix: 冗余日志group和key字段 2025-07-16 22:39:41 +08:00
tbphp
1c9b010ca8 fix: 返回错误状态 2025-07-16 14:18:36 +08:00
tbphp
ee400afbcd feat: 请求成功时不再重置失败 2025-07-14 20:21:19 +08:00
tbphp
807b766e79 feat: 日志增强 2025-07-14 00:18:15 +08:00
tbphp
b2374841e5 fix: 流式换行符修复 2025-07-13 11:04:24 +08:00
tbphp
25d65b0a94 fix: 日志错误格式修复 2025-07-12 11:22:01 +08:00
tbphp
13d7c4dbad feat: 请求日志记录 2025-07-12 10:15:07 +08:00
tbphp
f655de3cda feat: 配置优化梳理 2025-07-11 21:23:56 +08:00
tbphp
1368792aa0 feat: 优化代理服务 2025-07-11 17:11:00 +08:00
tbphp
6ffbb7e9a1 feat: 代理调试版本 2025-07-11 14:01:54 +08:00
tbphp
ae4644f287 fix: server close 2025-07-09 17:24:13 +08:00
tbphp
747f130f7e feat: key provider 2025-07-07 18:55:06 +08:00
tbphp
13adf2ef8b feat: 将interface{}替换为any以提高代码一致性 2025-07-04 21:22:25 +08:00
tbphp
01b86f7e30 feat: 密钥管理 2025-07-04 21:19:15 +08:00
tbphp
c0594d068e feat: 完善api错误提示 2025-07-03 21:33:16 +08:00
tbphp
762dfe48e8 feat: 添加基础通道实现和请求处理逻辑 2025-07-02 09:46:08 +08:00
tbphp
92fdd6d680 feat: 添加登录功能和路由注册 2025-07-01 12:29:16 +08:00
tbphp
b9a833ceab Refactor configuration and key management
- Removed key management configuration from .env.example and related code.
- Updated Makefile to load environment variables for HOST and PORT.
- Modified main.go to handle request logging with a wait group for graceful shutdown.
- Simplified dashboard statistics handler to focus on key counts and request metrics.
- Removed key manager implementation and related interfaces.
- Updated proxy server to use atomic counters for round-robin key selection.
- Cleaned up unused types and configurations in types.go.
- Added package-lock.json for frontend dependencies.
2025-06-30 22:09:16 +08:00
tbphp
731315144e feat: 前端搭建-未完成 2025-06-29 21:59:32 +08:00
tbphp
ab95af0bbe refactor: 重构types 2025-06-29 20:14:13 +08:00
tbphp
2ba378f7ac fix: 修复gzip乱码 2025-06-29 18:57:00 +08:00
tbphp
e55889354f feat: 流式输出性能优化 2025-06-29 17:41:19 +08:00
tbphp
f83cb83846 fix: query key 2025-06-29 10:06:27 +08:00
tbphp
96d3fc762a feat: 上游支持gemini格式透传 2025-06-29 09:26:57 +08:00
tbphp
d82d46376f feat: 优化超时配置 2025-06-13 12:36:13 +08:00
tbphp
3232d34534 feat: 优化服务超时时间(临时处理) 2025-06-13 10:20:13 +08:00
tbphp
3450a05615 feat: Multi-Target Load Balancing 2025-06-11 11:50:49 +08:00
tbphp
b97bd1146b feat: ignorableStreamErrors 2025-06-10 14:50:51 +08:00
tbphp
57b6d26a87 fix: retrycount log 2025-06-10 14:39:46 +08:00
tbphp
ed84d53769 fix: error log 2025-06-10 14:12:23 +08:00
tbphp
272d36add5 feat: 错误日志记录 2025-06-10 11:09:13 +08:00
tbphp
6b33f7054d fix: 修复语法问题 2025-06-09 22:27:30 +08:00
tbphp
0c5cf4266d refactor: 重构项目结构 2025-06-09 21:50:18 +08:00
tbphp
2470292662 feat: 忽略健康检查日志 2025-06-09 18:44:57 +08:00
tbphp
1a9f032fbc feat: 优化日志级别 2025-06-09 18:31:26 +08:00
tbphp
d764e0008a fix: 忽略错误 2025-06-09 16:19:21 +08:00
tbphp
57f4a8945f fix: 重试机制调整 2025-06-09 16:12:58 +08:00
tbphp
d86efc0f7e fix: 日志过滤 2025-06-09 14:48:54 +08:00
tbphp
d46840c2c9 fix: proxy url 2025-06-08 14:40:48 +08:00
tbphp
119a3a6b42 fix: panic error 2025-06-07 12:56:21 +08:00
tbphp
e8ba441173 fix: 优化配置 2025-06-07 11:45:19 +08:00
tbphp
c94ed14357 feat: 优化流式性能 2025-06-07 11:34:05 +08:00
tbphp
9ba7375f9c feat: 优化配置 2025-06-07 00:04:02 +08:00
tbphp
adcaa4d910 feat: 重试机制 2025-06-06 23:36:35 +08:00
tbphp
3a9ea5b33e fix: 优化配置 2025-06-06 22:09:20 +08:00