Commit Graph

23 Commits

Author SHA1 Message Date
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