docs(delegation): show api_mode override in custom-endpoint example

This commit is contained in:
r266-tech 2026-05-17 04:18:58 +08:00 committed by Teknium
parent d5ce85c423
commit 31a805883b

View file

@ -274,6 +274,7 @@ delegation:
model: "qwen2.5-coder"
base_url: "http://localhost:1234/v1"
api_key: "local-key"
# api_mode: "anthropic_messages" # Optional. Wire protocol override for base_url ("chat_completions", "codex_responses", or "anthropic_messages"). Empty = auto-detect from URL (e.g. /anthropic suffix). Set explicitly for endpoints the heuristic can't classify (Azure AI Foundry, MiniMax, Zhipu GLM, LiteLLM proxies, …).
```
:::tip