lyingbug
e179f44445
refactor(models): separate provider definitions, model catalogs, and runtime configuration ( #3589 )
...
* refactor(models): separate providers, catalog and runtime configuration
* refactor(models): isolate provider definitions and runtime catalogs
* docs: exclude refactoring analysis notes from the pull request
2026-09-23 14:20:08 +08:00
lyingbug
c40a9dd194
refactor(models): rebuild vendor integration on protocol + catalog + vendor layers ( #3470 )
...
把集中式的 OpenAI 方言客户端重建为三层:协议层 internal/models/api/<protocol>(OpenAI Chat Completions / OpenAI Responses / Anthropic Messages / Google GenAI),目录层 internal/models/catalog,厂商层 internal/models/vendors/<id>(27 家,go:embed)。27 家厂商逐条对照官方文档核验,厂商事实以数据声明,协议层不出现厂商名。
既有行的运行时行为会变的四处:
1. extra_config.api 变为保留的协议选择器,非法取值被拒绝;
2. Azure 未填 api_version 的行改走 /openai/v1 GA 数据面;
3. api.openai.com 的一方流量改走 Responses 协议(中转/网关不受影响);
4. 7 家厂商的输出上限字段按文档纠正。
不需要数据库迁移。详见 PR 描述与 website-docs/03-features/06-models.md。
2026-09-20 21:28:23 +08:00
wizardchen
2c44a41f2a
feat(models): add model test debugger for saved model configs
...
Let admins send real requests against configured chat, embedding, rerank,
VLM, and ASR models from settings, with thinking controls shown only when
the model supports them.
2026-06-25 17:05:33 +08:00
wolfkill
43565c5d1b
fix: add model display name
2026-05-28 19:22:17 +08:00