mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-03-08 22:53:51 +01:00
The tool call response parser only handled JSON-based formats, causing
tool_calls to always be empty for models that use non-JSON formats.
Add parsers for three additional tool call formats:
- Qwen3.5: <tool_call><function=name><parameter=key>value</parameter>
- Mistral/Devstral: functionName{"arg": "value"}
- GPT-OSS: <|channel|>commentary to=functions.name<|message|>{...}
Also fix multi-turn tool conversations crashing with Jinja2
UndefinedError on tool_call_id by preserving tool_calls and
tool_call_id metadata through the chat history conversion.
|
||
|---|---|---|
| .. | ||
| character_bias | ||
| coqui_tts | ||
| example | ||
| gallery | ||
| google_translate | ||
| long_replies | ||
| ngrok | ||
| openai | ||
| perplexity_colors | ||
| sd_api_pictures | ||
| send_pictures | ||
| silero_tts | ||
| superbooga | ||
| superboogav2 | ||
| whisper_stt | ||