[GH-ISSUE #15023] deepseek-r1:latest is wrongly marked to support tools #35410

Closed
opened 2026-04-22 19:54:30 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @ACodingfreak on GitHub (Mar 23, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/15023

What is the issue?

When I use deepseek-r1:latest for tool calling I get error saying it does not support tool calling.
But in ollama model page it is marked to support tools as shown below.

Image

https://ollama.com/library/deepseek-r1

Relevant log output

curl http://localhost:11434/api/chat -d '{
  "model": "deepseek-r1:latest",
  "messages": [
    {"role": "user", "content": "What is the weather in SF?"}
  ],
  "tools": [
    {
      "type": "function",
      "function": {
        "name": "get_weather",
        "description": "Get weather",
        "parameters": {
          "type": "object",
          "properties": {
            "location": {"type": "string"}
          },
          "required": ["location"]
        }
      }
    }
  ]
}'
{"error":"registry.ollama.ai/library/deepseek-r1:latest does not support tools"}(base)

OS

Linux

GPU

Nvidia

CPU

Intel

Ollama version

0.18.2

Originally created by @ACodingfreak on GitHub (Mar 23, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/15023 ### What is the issue? When I use deepseek-r1:latest for tool calling I get error saying it does not support tool calling. But in ollama model page it is marked to support tools as shown below. <img width="960" height="212" alt="Image" src="https://github.com/user-attachments/assets/12073d0f-a269-446b-aaf7-d1c23738e544" /> https://ollama.com/library/deepseek-r1 ### Relevant log output ```shell curl http://localhost:11434/api/chat -d '{ "model": "deepseek-r1:latest", "messages": [ {"role": "user", "content": "What is the weather in SF?"} ], "tools": [ { "type": "function", "function": { "name": "get_weather", "description": "Get weather", "parameters": { "type": "object", "properties": { "location": {"type": "string"} }, "required": ["location"] } } } ] }' {"error":"registry.ollama.ai/library/deepseek-r1:latest does not support tools"}(base) ``` ### OS Linux ### GPU Nvidia ### CPU Intel ### Ollama version 0.18.2
GiteaMirror added the bug label 2026-04-22 19:54:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#35410