unsloth/tests/python/fixtures
Daniel Han 44b55b81c6
Keep Mistral Small 3.2 tool definitions in training rows (#13597)
The 2025 Unsloth Mistral Small 3.2 chat template only emitted [AVAILABLE_TOOLS]
when the conversation ended on a user or tool turn, so every fine-tuning row
ending in an assistant reply silently lost the tool list. Rewrite that template
at load time to place the tool list before the last user message, matching
mistral_common in both serving and finetuning mode. Serving prompts are
unchanged; other templates are left untouched.

Fixes https://github.com/unslothai/unsloth/issues/3096
2026-10-13 06:41:04 -07:00
..
mistral_small_3_2_tools_2025.jinja Keep Mistral Small 3.2 tool definitions in training rows (#13597) 2026-10-13 06:41:04 -07:00