WeKnora/website-docs/04-api
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
..
01-api-overview.md docs: update website guides and improve writing style (#3095) 2026-09-08 10:54:41 +08:00
02-api-agent-mcp.md fix(security): close cross-workspace access paths in shared spaces (#3408) 2026-09-18 22:00:02 +08:00
02-api-auth.md fix: align client sessions and integration request handling (#3305) 2026-09-16 16:20:57 +08:00
02-api-channels.md fix(security): close cross-workspace access paths in shared spaces (#3408) 2026-09-18 22:00:02 +08:00
02-api-chat.md feat(artifacts): let users delete generated files (#3447) 2026-09-20 13:01:46 +08:00
02-api-chunks.md docs: update website guides and improve writing style (#3095) 2026-09-08 10:54:41 +08:00
02-api-faq-wiki.md fix(security): close the low-severity shared-space findings (#3416) 2026-09-18 22:58:46 +08:00
02-api-infra.md feat(web-search): add Serply provider 2026-09-17 12:25:09 +08:00
02-api-knowledge.md feat(knowledge): derive knowledge base descriptions from document profiles (#3370) 2026-09-17 22:21:55 +08:00
02-api-memory.md docs: update website guides and improve writing style (#3095) 2026-09-08 10:54:41 +08:00
02-api-model-system.md refactor(models): rebuild vendor integration on protocol + catalog + vendor layers (#3470) 2026-09-20 21:28:23 +08:00
02-api-org.md fix(security): close the low-severity shared-space findings (#3416) 2026-09-18 22:58:46 +08:00
02-api-sandbox-skills.md docs: update website guides and improve writing style (#3095) 2026-09-08 10:54:41 +08:00
02-api-system.md docs: update website guides and improve writing style (#3095) 2026-09-08 10:54:41 +08:00
02-api-tenant.md feat(audit): 知识库活动记录对 API Key 操作额外显示 Key 名称 (#3405) 2026-09-18 19:39:34 +08:00