获取后台任务模型
GET /v1/llm/background-models:返回后台任务模型是否受支持和实际生效、配置来源、指定槽位,以及对话、标题、压缩、无人值守和视觉所用的模型。
GET /v1/llm/background-models
返回后台任务模型是否受支持和实际生效、配置来源、指定槽位,以及对话、标题、压缩、无人值守和视觉所用的模型。对话继续使用已选模型。空槽或暂不可用的槽位回退到同一模型。
| 方法 | GET |
| 路径 | /v1/llm/background-models |
| 认证 | 设置 GATEWAY_AUTH_TOKEN 时需要 Authorization: Bearer <token> |
| 类别 | llm |
响应正文
{ "supported": true, "enabled": true, "effective": true, "enabledSource": "default", "slots": { "utility": "deepseek-v4-flash" }, "routes": [{ "workload": "interactive_agent", "model": "anthropic/claude-sonnet-5", "alternatives": [], "source": "chat", "available": true }, { "workload": "utility", "model": "deepseek-v4-flash", "alternatives": ["anthropic/claude-sonnet-5"], "source": "slot", "available": true }] }