Repository navigation
Add Mistral-Small-3.2-24B-Instruct-2506.jinja - #14349
Merged
Merged
Conversation
This will allow the use of tools on the llama-server
bartowski1182
marked this pull request as ready for review
June 23, 2025 20:57
Contributor
|
@bartowski1182 Hello I thank you for this template error |
Contributor
Author
|
Yes someone else pointed out a similar issue, Mistral seems to aggressively enforce that the call ID be exactly length 9, so if a tool is not doing that it'll error I don't think it makes sense to alter the template, since Mistral specifically mentions their improvements to tool calling formatting... You can see where they force it here: |
gabe-l-hart
added a commit
to gabe-l-hart/llama.cpp
that referenced
this pull request
Jun 27, 2025
* mamba2-sync: (22 commits) recurrent : call balloc split_reset() in init_batch() (ggml-org#14414) ggml : add ggml_set_rows (ggml-org#14274) convert : fix broken sentencepiece vocab (ggml-org#14416) mamba : fix mismatched new and delete size for llm_build_mamba model : gemma3n text-only (ggml-org#14400) cmake: regen vulkan shaders when shaders-gen sources change (ggml-org#14398) llama : return mistral-v7-tekken as default template only (ggml-org#14390) metal : add special-case mat-vec mul for ne00 == 4 (ggml-org#14385) metal : batch rows copy in a single threadgroup (ggml-org#14384) docs: update s390x documentation + add faq (ggml-org#14389) musa: enable fp16 mma (all) and cublas on qy2 (ggml-org#13842) ggml-cpu: enable IBM NNPA Vector Intrinsics (ggml-org#14317) ggml : do not output unprintable characters on GGUF load failure (ggml-org#14381) sycl: GGML_SYCL_DISABLE_OPT on by default for all Intel Devices (ggml-org#13973) opencl: ref count `ggml_backend_opencl_context` and refactor profiling (ggml-org#14254) batch : fix check for empty sequences in memory (ggml-org#14364) cmake : use LLAMA_BUILD_NUMBER when defining LLAMA_INSTALL_VERSION (ggml-org#14362) server : move no API key doc to /health (ggml-org#14352) main : honor --verbose-prompt on interactive prompts (ggml-org#14350) jinja : Add Mistral-Small-3.2-24B-Instruct-2506.jinja (ggml-org#14349) ...
qnixsynapse
pushed a commit
to janhq/llama.cpp
that referenced
this pull request
Jul 2, 2025
This will allow the use of tools on the llama-server
qnixsynapse
pushed a commit
to janhq/llama.cpp
that referenced
this pull request
Jul 6, 2025
This will allow the use of tools on the llama-server
Seunghhon
pushed a commit
to Seunghhon/llama.cpp
that referenced
this pull request
Apr 26, 2026
This will allow the use of tools on the llama-server
my-other-github-account
pushed a commit
to my-other-github-account/llama.cpp
that referenced
this pull request
May 15, 2026
This will allow the use of tools on the llama-server
AlexiAlp
pushed a commit
to minghaop/llama.cpp
that referenced
this pull request
Jun 2, 2026
This will allow the use of tools on the llama-server
AlexiAlp
pushed a commit
to minghaop/llama.cpp
that referenced
this pull request
Jun 2, 2026
This will allow the use of tools on the llama-server
fukuro-kun
pushed a commit
to fukuro-kun/fukuro-llama-cpp-turboquant
that referenced
this pull request
Jul 5, 2026
This will allow the use of tools on the llama-server
zommiommy
pushed a commit
to zommiommy/llama.cpp
that referenced
this pull request
Aug 18, 2026
This will allow the use of tools on the llama-server
frostyautumnleaf
pushed a commit
to frostyautumnleaf/llama.cpp
that referenced
this pull request
Oct 5, 2026
This will allow the use of tools on the llama-server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
After referencing:
https://huggingface.co/mistralai/Mistral-Nemo-Instruct-2407
https://huggingface.co/mistralai/Mistral-Small-3.1-24B-Instruct-2503
and how Qwen does tool calling, plus some help from my good friend Claude, was able to figure out proper tool calling support and what seems to be a proper chat template that follows the best practices from mistral themselves
Hosted with this command:
Used the following script to validate:
test_mistral.py script for checking the tool use works
Which gave this proper output:
test_mistral.py script results
Only thing left is that the
yesterdayfunctionality doesn't work, but I think it's best to try to get a change in to minja to support that