3 yesterday

Ollama Agent + Skills + Vision 26 t/s en 8 VRAM 2026

vision tools
f30815797860 · 1.1kB
{{ if .System }}<|im_start|>system
{{ .System }}
{{ if .Tools }}
You have access to the following tools. You must format your tool calls as JSON objects inside <tool_call> tags.
{{ range .Tools }}
{{ . }}
{{ end }}
{{ end }}<|im_end|>
{{ else if .Tools }}<|im_start|>system
You have access to the following tools. You must format your tool calls as JSON objects inside <tool_call> tags.
{{ range .Tools }}
{{ . }}
{{ end }}<|im_end|>
{{ end }}
{{ range .Messages }}
{{ if eq .Role "user" }}<|im_start|>user
{{ .Content }}<|im_end|>
{{ else if eq .Role "assistant" }}<|im_start|>assistant
{{ if .Content }}<think>
{{ .Content }}</think>
{{ end }}
{{ if .ToolCalls }}<|im_start|>call
{{ range .ToolCalls }}
<tool_call>
{"name": "{{ .Function.Name }}", "arguments": {{ .Function.Arguments }}}
</tool_call>
{{ end }}<|im_end|>
{{ else }}
{{ .Content }}<|im_end|>
{{ end }}
{{ else if eq .Role "tool" }}<|im_start|>tool
<tool_response>
{{ .Content }}
</tool_response><|im_end|>
{{ end }}
{{ end }}<|im_start|>assistant
<think>