* fix(chat): send one completion-token field per provider Agent dual-wrote max_tokens and max_completion_tokens, which Volcengine Ark rejects. Collapse them to one budget and pick the wire name the way Pi does. Fixes #3014 * fix(chat): shrink max_tokens provider whitelist to documented hosts Only DeepSeek, Zhipu, SiliconFlow, Moonshot, NVIDIA, and self-hosted vLLM-class runtimes stay on the legacy field. Aliyun DashScope documents max_completion_tokens for thinking models and must not be forced onto max_tokens. * fix(chat): send max_tokens for LKEAP completions Tencent LKEAP documents max_tokens only. Keep Pi's default of max_completion_tokens, and classify every AllProviders() host so a new vendor cannot silently inherit the default. |
||
|---|---|---|
| .. | ||
| asr | ||
| chat | ||
| embedding | ||
| limiter | ||
| provider | ||
| rerank | ||
| utils | ||
| vlm | ||