[GH-ISSUE #12592] DeepSeek Coder V2 fails in OpenCode: No Tooling Support ?! #8356

Closed
opened 2026-04-12 20:57:27 -05:00 by GiteaMirror · 8 comments
Owner

Originally created by @SkybuckFlying on GitHub (Oct 13, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/12592

To re-produce:

  1. Download DeepSeek Coder V2:

https://ollama.com/library/deepseek-coder-v2:16b

  1. Run:

ollama -serve

  1. Run:
    opencode

  2. Select model.

Try and talk to it...

What is the issue?

API Call Error ?!

Relevant log output

AI_APICallError: registry.ollama.ai/library/deepseek-coder-v2-16B-20K-ContextWindow-16GB:latest does not support tools

OS

Windows

GPU

Nvidia

CPU

AMD

Ollama version

v0.12.5

Originally created by @SkybuckFlying on GitHub (Oct 13, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/12592 To re-produce: 1. Download DeepSeek Coder V2: https://ollama.com/library/deepseek-coder-v2:16b 2. Run: ollama -serve 3. Run: opencode 4. Select model. Try and talk to it... ### What is the issue? API Call Error ?! ### Relevant log output ```shell AI_APICallError: registry.ollama.ai/library/deepseek-coder-v2-16B-20K-ContextWindow-16GB:latest does not support tools ``` ### OS Windows ### GPU Nvidia ### CPU AMD ### Ollama version v0.12.5
GiteaMirror added the bug label 2026-04-12 20:57:27 -05:00
Author
Owner

@rick-github commented on GitHub (Oct 13, 2025):

The model does not natively support tools. Users have uploaded versions with tool support, see here.

<!-- gh-comment-id:3396622595 --> @rick-github commented on GitHub (Oct 13, 2025): The model [does not](https://huggingface.co/deepseek-ai/DeepSeek-Coder-V2-Instruct/blob/main/tokenizer_config.json#L34) natively support tools. Users have uploaded versions with tool support, see [here](https://ollama.com/search?c=tools&q=Deepseek+coder).
Author
Owner

@alexandre-leng commented on GitHub (Apr 6, 2026):

i have the same issue 00 {"error":"registry.ollama.ai/library/deepseek-coder-v2:16b does not support tools"}

<!-- gh-comment-id:4191268454 --> @alexandre-leng commented on GitHub (Apr 6, 2026): i have the same issue 00 {"error":"registry.ollama.ai/library/deepseek-coder-v2:16b does not support tools"}
Author
Owner

@rick-github commented on GitHub (Apr 6, 2026):

The model does not natively support tools. Users have uploaded versions with tool support, see here.

<!-- gh-comment-id:4191281214 --> @rick-github commented on GitHub (Apr 6, 2026): The model [does not](https://huggingface.co/deepseek-ai/DeepSeek-Coder-V2-Instruct/blob/main/tokenizer_config.json#L34) natively support tools. Users have uploaded versions with tool support, see [here](https://ollama.com/search?c=tools&q=Deepseek+coder).
Author
Owner

@alexandre-leng commented on GitHub (Apr 6, 2026):

can be great to display it on model page

<!-- gh-comment-id:4191429371 --> @alexandre-leng commented on GitHub (Apr 6, 2026): can be great to display it on model page
Author
Owner

@rick-github commented on GitHub (Apr 6, 2026):

There is no tool tag on the model page, therefore it does not natively support tools.

<!-- gh-comment-id:4191928889 --> @rick-github commented on GitHub (Apr 6, 2026): There is no `tool` tag on the [model page](https://ollama.com/library/deepseek-coder-v2), therefore it does not natively support tools.
Author
Owner

@alexandre-leng commented on GitHub (Apr 6, 2026):

Yes but can be great to select tool:openclaw tool is really large and unspecified

<!-- gh-comment-id:4191969511 --> @alexandre-leng commented on GitHub (Apr 6, 2026): Yes but can be great to select tool:openclaw tool is really large and unspecified
Author
Owner

@rick-github commented on GitHub (Apr 6, 2026):

If openclaw needs a tool supporting model, then any model that supports tools can be used by openclaw. If a model doesn't support tools, don't use it with openclaw.

<!-- gh-comment-id:4192006400 --> @rick-github commented on GitHub (Apr 6, 2026): If openclaw needs a tool supporting model, then any model that [supports tools](https://ollama.com/search?c=tools) can be used by openclaw. If a model doesn't support tools, don't use it with openclaw.
Author
Owner

@alexandre-leng commented on GitHub (Apr 6, 2026):

Okay thanks 👍 it was unclear for me and maybe for other

<!-- gh-comment-id:4192263954 --> @alexandre-leng commented on GitHub (Apr 6, 2026): Okay thanks 👍 it was unclear for me and maybe for other
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#8356