# SwarmDo-A1 — Ollama Modelfile # # The GGUF produced by build_gguf.sh already embeds the Qwen3 chat/tool-call # template (convert_hf_to_gguf copies chat_template from tokenizer_config), so we # do NOT override TEMPLATE here — overriding by hand is exactly how tool-calling # silently breaks (project memory: qwen36-serve-toolcall-fix). Ollama uses the # embedded template. We only pin the stop tokens + a default system prompt. # # Build/tag locally: ollama create swarmdo-a1 -f Modelfile.swarmdo-a1 # The gguf path below is filled in by build_gguf.sh per quant. FROM ./SwarmDo-A1-Q4_K_M.gguf PARAMETER stop "<|im_end|>" PARAMETER stop "<|endoftext|>" PARAMETER temperature 0.2 PARAMETER top_p 0.9 PARAMETER num_ctx 32768 SYSTEM """You are SwarmDo-A1, an execution-grounded coding model (a re-based Qwen3.6-27B). Solve the task directly and return complete, runnable code. When tools are available, use the Qwen XML tool-call format."""