[GH-ISSUE #10249] Add tools support for agent use with DeepCoder model #6725

Open
opened 2026-04-12 18:28:46 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @zytoh0 on GitHub (Apr 12, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/10249

Is your feature request related to a problem? Please describe.
While DeepCoder is a powerful code-generation model, it currently lacks tools support in agentic workflows. This limits its utility in multi-step, real-world tasks where tool use is essential.

Describe the solution you’d like
Please add support for tool use with DeepCoder.

Originally created by @zytoh0 on GitHub (Apr 12, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/10249 **Is your feature request related to a problem? Please describe.** While DeepCoder is a powerful code-generation model, it currently lacks tools support in agentic workflows. This limits its utility in multi-step, real-world tasks where tool use is essential. **Describe the solution you’d like** Please add support for tool use with [DeepCoder](https://ollama.com/library/deepcoder).
GiteaMirror added the feature request label 2026-04-12 18:28:46 -05:00
Author
Owner

@ghmer commented on GitHub (Apr 12, 2025):

AFAIK the LLM has to support that. DeepCoder does not seem to support it.
You can try to workaround this using prompt engineering. It can be successful, but requires fine tuning.

Have fun!

<!-- gh-comment-id:2798929425 --> @ghmer commented on GitHub (Apr 12, 2025): AFAIK the LLM has to support that. DeepCoder does not seem to support it. You can try to workaround this using prompt engineering. It can be successful, but requires fine tuning. Have fun!
Author
Owner

@rick-github commented on GitHub (Apr 12, 2025):

The chat template supports tools so adding it to the ollama template should be straightforward. The tokenizer also contains special tokens for FIM, so that it might be worth trying to add that as well.

<!-- gh-comment-id:2798934401 --> @rick-github commented on GitHub (Apr 12, 2025): The [chat template](https://huggingface.co/agentica-org/DeepCoder-14B-Preview/blob/main/tokenizer_config.json#L184) supports tools so adding it to the ollama template should be straightforward. The tokenizer also contains [special tokens for FIM](https://huggingface.co/agentica-org/DeepCoder-14B-Preview/blob/main/tokenizer_config.json#L135), so that it might be worth trying to add that as well.
Author
Owner

@zytoh0 commented on GitHub (Apr 13, 2025):

The chat template supports tools so adding it to the ollama template should be straightforward. The tokenizer also contains special tokens for FIM, so that it might be worth trying to add that as well.

👍 Looking forward to it!

<!-- gh-comment-id:2799844535 --> @zytoh0 commented on GitHub (Apr 13, 2025): > The [chat template](https://huggingface.co/agentica-org/DeepCoder-14B-Preview/blob/main/tokenizer_config.json#L184) supports tools so adding it to the ollama template should be straightforward. The tokenizer also contains [special tokens for FIM](https://huggingface.co/agentica-org/DeepCoder-14B-Preview/blob/main/tokenizer_config.json#L135), so that it might be worth trying to add that as well. 👍 Looking forward to it!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#6725