Kimi documents max 5 stop strings AND <= 32 bytes per string at https://platform.kimi.ai/docs/api/chat. The previous code capped count but forwarded oversize entries, which can produce upstream 400s. Add stop_max_bytes=32 on the Kimi registry entry and apply both checks in a new _normalize_stop_for_provider helper shared between the default OAI-compat path and the Kimi web-search bypass. Tests pin the byte-cap drop on both Kimi paths. |
||
|---|---|---|
| .. | ||
| backend | ||
| frontend | ||
| src-tauri | ||
| __init__.py | ||
| install_llama_prebuilt.py | ||
| install_python_stack.py | ||
| LICENSE.AGPL-3.0 | ||
| package-lock.json | ||
| package.json | ||
| setup.bat | ||
| setup.ps1 | ||
| setup.sh | ||
| Unsloth_Studio_Colab.ipynb | ||