18 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 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 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 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
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 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