Models
GitHub
Discord
Docs
Cloud
Sign in
Download
Models
Download
GitHub
Discord
Docs
Cloud
Sign in
seamon67
/
Devstral1.1-Fused
:36b-q4_K_M
37
Downloads
Updated
3 weeks ago
Various Quants of Fused Devstral 1.1 (2507).
Various Quants of Fused Devstral 1.1 (2507).
Cancel
vision
tools
thinking
Devstral1.1-Fused:36b-q4_K_M
...
/
template
48fe53d291fd · 1.1kB
{{- range $index, $_ := .Messages }}
{{- $last := eq (len (slice $.Messages $index)) 1}}
{{- if eq .Role "user" }}
{{- if and (le (len (slice $.Messages $index)) 2) $.Tools }}[AVAILABLE_TOOLS]{{ $.Tools }}[/AVAILABLE_TOOLS]
{{- end }}
{{- if eq (len (slice $.Messages $index)) 1}}[SYSTEM_PROMPT]{{ $.System }}[/SYSTEM_PROMPT]
{{- end }}[INST]{{ .Content }}[/INST]
{{- if eq (len (slice $.Messages $index)) 1}}<think>
{{- end }}
{{- else if eq .Role "assistant" }}
{{- if and $.IsThinkSet (and $last .Thinking) -}}
<think>{{ .Thinking }}</think>
{{- end }}
{{- if .Content }}{{ .Content }}
{{- if not (eq (len (slice $.Messages $index)) 1) }}</s>
{{- end }}
{{- else if .ToolCalls }}[TOOL_CALLS]
{{- range .ToolCalls }}{"name": "{{ .Function.Name }}", "arguments": {{ .Function.Arguments }}}
{{- end }}]</s>
{{- end }}
{{- else if eq .Role "tool" }}[TOOL_RESULTS]{"content": {{ .Content }}}[/TOOL_RESULTS]
{{- end }}
{{- if and $last (ne .Role "assistant") }}{{ if and $.IsThinkSet (not $.Think) -}}<think>
</think>
{{- end }}
{{- end }}
{{- end }}