Commit Graph
60 Commits
Author SHA1 Message Date
Von c744bc0bc3 fix pylance problems 2026-04-06 13:00:31 +08:00
Von bd7552f23b feat: 支持 Provider 多下游 target_formats 并收敛对外配置接口
- 将 Provider 下游配置由单个 target_format 扩展为多个 target_formats
- 保留旧字段 target_format 的启动期迁移逻辑,并标注为弃用兼容代码
- 收敛对外配置与接口返回,Provider 相关响应及 /v1/models 仅暴露 target_formats
- 前端 Provider 表单改为多选下游,支持互斥项自动替换
- 新建 Provider 默认选中 openai_chat、codex、claude_chat
- 更新示例配置、README、4+1 架构文档及相关测试
2026-04-06 09:46:28 +08:00
Von 3751b9ac32 ignore .vscode 2026-04-04 19:48:54 +08:00
Von 7e576e7bf0 provider弹窗调整高度 2026-04-03 22:27:44 +08:00
Von 1e200715cb 支持python 3.7及以上版本,避免问题 2026-04-03 21:34:38 +08:00
Von 1edc97072c 实现用户对模型权限的管理,优化UI 2026-04-03 21:10:33 +08:00
Von d03b5466da 新增对Provider支持启用禁用的能力 2026-04-02 23:19:59 +08:00
Von ea5ca42c2c delete 2026-04-02 08:13:06 +08:00
Von fe2c24c7d0 feat: 优化 Provider 管理页 Auth Entry 编辑与 YAML 导入体验
将 Provider、Auth Group 和 Auth Entry YAML 编辑弹窗改为静态 backdrop,避免误触关闭

为 Auth Entry YAML 编辑接入本地 Ace 编辑器,支持主题同步、模板插入与快捷注释

编辑 Auth Group 时默认折叠所有 Entry,YAML 导入后保持折叠;删除 Entry 时新增气泡确认,并移除删除后自动展开相邻项的行为

补充相关样式、Ace 静态资源和前端模板测试
2026-04-02 08:12:17 +08:00
Von 154e4eb883 传输模式跟着API地址联动 2026-04-02 00:19:40 +08:00
Von c127be5a78 update readme 2026-04-02 00:14:50 +08:00
Von 55898e373d delete sql script 2026-04-01 23:42:25 +08:00
Von e86317aa2b feat: 新增 Auth Group 多凭证调度与管理面板
- 新增 auth_group/auth_entry 配置模型、运行态管理与 SQLite 持久化
- 支持 provider 绑定 auth_group,并在代理链路中按 least_inflight 选择凭证
- 增加 429 冷却、401/403 禁用、请求数与 token 配额统计及重置能力
- 扩展 HookContext,暴露 auth_group_name 和 auth_entry_id
- 重构 Provider 管理页,新增 Auth Group 管理、运行态面板与 Auth Entries YAML 编辑
- 同步更新 README、架构文档、示例配置和相关测试
2026-04-01 23:39:57 +08:00
Von c632067ed7 Add retry failure context to hooks
Expose previous retry failure details through HookContext, normalize transport failures with HookErrorType, extend tests, and document the new hook behavior in README and 4+1 architecture notes.
2026-03-31 21:13:02 +08:00
Little Von 37220fd7e6 Update loading message in statistics table 2026-03-31 10:20:46 +08:00
Von 81c61bbdd7 fix: correct provider SSL status in edit modal 2026-03-31 08:18:40 +08:00
Von e734cf7246 refactor: simplify proxy architecture around openai claude codex
- trim public provider protocols to openai_chat, openai_responses, claude_chat and codex\n- remove public stream_format and gemini-family downstream surfaces\n- add executor/decoder/translator pipeline, provider help popovers and /v1/models metadata\n- refresh README, 4+1 architecture docs, sample config, and supporting tests\n- include local-time storage scripts and related repository/service coverage
2026-03-31 07:41:36 +08:00
Von a4d948ff62 move chat whitelist toggle to users page 2026-03-20 13:54:51 +08:00
Von 247ec9ff78 update ui: remove show protocol 2026-03-20 08:24:58 +08:00
Von 9e7218220b update default timeout second 2026-03-20 08:11:19 +08:00
Von 80e785567f update 2026-03-20 07:45:52 +08:00
Von 36ba325021 update 2026-03-20 07:36:32 +08:00
Von 806691dba4 update ui 2026-03-19 23:39:51 +08:00
Von ae8a87e844 update ui, update proxy error show 2026-03-19 20:07:31 +08:00
Von 55d9fbca88 update ui,增加websocket的支持 2026-03-19 19:48:57 +08:00
Von 6161ef039b 修改近3天为今天 2026-03-18 13:16:59 +08:00
Von 7700e49228 优化前端 2026-03-13 23:27:54 +08:00
Von b635bf5128 优化删除用户、provider时的提醒 2026-03-13 22:10:37 +08:00
Von 4131a8e7f2 - 代理发给上游时,仍然会补 stream_options.include_usage=true,所以 token 统计还在。
- 下游如果没有显式传 stream_options.include_usage=true,代理会把“纯 usage 的 SSE chunk”吞掉,不再往客户端发。
- 如果下游本来就显式要求 include_usage=true,那仍然会原样透传 usage chunk。
2026-03-13 01:40:57 +08:00
Von cae49a5dd0 新增用户管理界面 用户或ip搜索 2026-03-13 01:30:00 +08:00
Von 6bf47c5337 fix provier error 2026-03-13 01:14:39 +08:00
Von 0d8963a6e7 update README 2026-03-13 00:46:08 +08:00
Von d549aaf138 update UI, 边距调整 2026-03-13 00:43:43 +08:00
Von a7e3c946c0 update UI AND README 2026-03-13 00:35:28 +08:00
Von 3a0cd8a867 update 修改 2026-03-12 23:24:31 +08:00
Von fdf77abebc update 增加4+1试图,优化提供商界面 2026-03-12 22:48:02 +08:00
Von b8ab461c4c update 模块解耦 2026-03-12 22:26:05 +08:00
Von 125893b510 update 2026-03-12 13:46:59 +08:00
Von 88bc95f513 优化模型列表编辑 2026-03-12 13:24:22 +08:00
Von 6d99b41f9e 优化provider显示i效果 2026-03-12 13:17:51 +08:00
Von 06a7ef7e35 支持白名单chat设置修改 2026-03-12 13:15:58 +08:00
Von 603c07f95b 新增provider代理设置 2026-03-12 12:58:32 +08:00
Von 977be91cbc fix样式 2026-03-12 08:29:25 +08:00
Von 90c1e52f66 增加提供商页面,增加表格排序,优化样式 2026-03-12 00:28:48 +08:00
Von 635ac83eb8 一些日志改成debug日志 2026-03-11 13:03:52 +08:00
Von 07d38224fc fix 登录placeholder 2026-03-11 13:00:01 +08:00
Von 9fa13ffa3f 可能fix代理问题 2026-03-11 01:21:26 +08:00
Von e151aa8123 修改external 2026-03-11 00:45:25 +08:00
Von 478b39c36d 优化暗黑风格 2026-03-11 00:34:43 +08:00
Von d06ba0f438 新增暗黑风格 2026-03-11 00:26:55 +08:00