Commit Graph
19 Commits
Author SHA1 Message Date
dreamhunter2333 e376a8a539 downgrade zod 2025-12-12 20:27:55 +08:00
dreamhunter2333andClaude Opus 4.5 700a50372d docs: 将监控与统计、核心优势、安全性、API文档移入可折叠区域
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-11 13:31:27 +08:00
dreamhunter2333andClaude Opus 4.5 dfc9d084a2 docs: 合并使用指南、管理功能、配置说明到可折叠的二级标题
将使用指南、管理功能、配置说明、Token 配置合并到一个可折叠的"使用与配置"二级标题下,内部改为三级标题

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-11 13:30:24 +08:00
dreamhunter2333andClaude Opus 4.5 9e0da518ea docs: 为可折叠区域添加标题样式
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-11 13:26:56 +08:00
dreamhunter2333andClaude Opus 4.5 5b49dbad6b docs: 优化 README 结构
- 将项目结构移至系统架构后,改为可折叠
- 将使用指南改为可折叠

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-11 13:26:07 +08:00
dreamhunter2333andClaude Opus 4.5 0af96e1639 docs: 将系统架构图改为 Mermaid 格式
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-11 13:23:29 +08:00
dreamhunter2333andClaude Opus 4.5 5656052301 chore: 更新依赖包版本
- chanfana: 2.8.1 -> 2.8.3
- hono: 4.8.2 -> 4.10.8
- zod: 3.25.67 -> 4.1.13
- wrangler: 4.20.5 -> 4.53.0

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-11 13:21:38 +08:00
dreamhunter2333andClaude Opus 4.5 a02ec82a8f feat: 现代化管理面板界面
- 添加 CSS 变量系统支持主题定制
- 改进视觉效果:更柔和的渐变、阴影和圆角
- 添加平滑的动画和过渡效果
- 优化卡片、按钮、表单等组件样式
- 改进响应式设计适配
- 美化滚动条和选择效果

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-11 13:19:33 +08:00
dreamhunter2333 8bffed8a03 优化代理服务流式响应处理和使用量统计
- 修复 processStreamData 异步处理问题,使用 for..of 替代 forEach
- 优化流式响应处理,使用 response.body.tee() 分离客户端和服务端流
- 使用 executionCtx.waitUntil() 确保后台使用量统计不阻塞响应
- 为 Azure OpenAI 代理添加 api_version 条件检查
- 统一两个代理服务的流处理逻辑,提高代码一致性
2025-07-01 03:00:38 +08:00
dreamhunter2333 8d4af1b895 重构 TokenUtils: 从类改为对象,添加新的 pricing 和 usage 处理方法
- 将 TokenUtils 从类重构为对象
- 添加 getPricing 方法,支持 channel-specific 和 global pricing
- 添加 processUsage 方法,集中处理使用量计算和记录
- 在 providers/index.ts 中简化 usage 处理逻辑
- 添加 API key 掩码功能以保护敏感信息
2025-06-27 02:08:16 +08:00
dreamhunter2333 3b6c5b37c1 fix: use deployment_mapper for model replacement in OpenAI provider 2025-06-26 20:35:50 +08:00
dreamhunter2333 d4d318579b feat: add OpenAI provider support 2025-06-26 01:24:43 +08:00
dreamhunter2333 d62e662d20 feature: support azure deepseek 2025-06-24 19:02:52 +08:00
dreamhunter2333 4baf088628 feature: update ux 2025-06-23 13:44:42 +08:00
dreamhunter2333 4100cfd02d feature: update ux 2025-06-23 13:15:23 +08:00
dreamhunter2333 13d6b11d3f feature: update ux 2025-06-23 01:03:00 +08:00
dreamhunter2333 aed83f2ec5 feature: update ux 2025-06-23 01:00:53 +08:00
dreamhunter2333 bdbfa90e89 update doc 2025-06-22 19:39:59 +08:00
dreamhunter2333 90525cdfd8 init 2025-06-21 19:30:54 +08:00