ollama/template
Devon Rifkin 626af2d809
template: fix args-as-json rendering (#13636)
In #13525, I accidentally broke templates' ability to automatically
render tool call function arguments as JSON.

We do need these to be proper maps because we need templates to be able
to call range, which can't be done on custom types.
2026-01-06 18:33:57 -08:00
..
testdata templates: add autotemplate for gemma3 (#9880) 2025-03-20 00:15:30 -07:00
alfred.gotmpl
alfred.json
alpaca.gotmpl
alpaca.json
chatml.gotmpl
chatml.json
chatqa.gotmpl
chatqa.json
codellama-70b-instruct.gotmpl
codellama-70b-instruct.json
command-r.gotmpl
command-r.json
falcon-instruct.gotmpl
falcon-instruct.json
gemma-instruct.gotmpl
gemma-instruct.json
gemma3-instruct.gotmpl templates: add autotemplate for gemma3 (#9880) 2025-03-20 00:15:30 -07:00
gemma3-instruct.json templates: add autotemplate for gemma3 (#9880) 2025-03-20 00:15:30 -07:00
granite-instruct.gotmpl
granite-instruct.json
index.json templates: add autotemplate for gemma3 (#9880) 2025-03-20 00:15:30 -07:00
llama2-chat.gotmpl
llama2-chat.json
llama3-instruct.gotmpl
llama3-instruct.json
magicoder.gotmpl
magicoder.json
mistral-instruct.gotmpl
mistral-instruct.json
openchat.gotmpl
openchat.json
phi-3.gotmpl
phi-3.json
solar-instruct.gotmpl
solar-instruct.json
starcoder2-instruct.gotmpl
starcoder2-instruct.json
template.go template: fix args-as-json rendering (#13636) 2026-01-06 18:33:57 -08:00
template_test.go template: fix args-as-json rendering (#13636) 2026-01-06 18:33:57 -08:00
vicuna.gotmpl
vicuna.json
zephyr.gotmpl
zephyr.json