[GH-ISSUE #6317] Feature request : Tools support of Qwen2 #66001

Closed
opened 2026-05-03 23:32:10 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @trinhkiet0105 on GitHub (Aug 12, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/6317

Why ?
So i just found out that Qwen2 have tools support. However, ollama current do not have tools support for qwen2 models. And there is a section of Qwen2 github talking about ollama on tools use. And this seems prombles of ollama in older versions. I think this should be resolvable with version 0.3.x

Request

  • I would like to request tools support for Qwen2 models
  • If possible I would like to know how the process of adding tools support for a model (like ollama team can add tools to Qwen2 directly or participation of Qwen2 team is required)

Thanks for reading

Originally created by @trinhkiet0105 on GitHub (Aug 12, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/6317 **Why ?** So i just found out that Qwen2 have tools support. However, ollama current do not have tools support for qwen2 models. And there is a section of [Qwen2 github talking about ollama on tools use](https://github.com/QwenLM/Qwen2?tab=readme-ov-file#-run-locally ). And this seems prombles of ollama in older versions. I think this should be resolvable with version 0.3.x **Request** - I would like to request tools support for Qwen2 models - If possible I would like to know how the process of adding tools support for a model (like ollama team can add tools to Qwen2 directly or participation of Qwen2 team is required) Thanks for reading
GiteaMirror added the feature request label 2026-05-03 23:32:10 -05:00
Author
Owner

@hlstudio commented on GitHub (Aug 13, 2024):

may be you can pull sam4096/qwen2tools and test.
then check the modelfile,only the modelfile has been modified,and the model weight file has not changed, which is exactly the same as the original qwen2

<!-- gh-comment-id:2285373086 --> @hlstudio commented on GitHub (Aug 13, 2024): may be you can pull [sam4096/qwen2tools](https://ollama.com/sam4096/qwen2tools) and test. then check the modelfile,only the modelfile has been modified,and the model weight file has not changed, which is exactly the same as the original qwen2
Author
Owner

@ztsweet commented on GitHub (Aug 19, 2024):

+1

<!-- gh-comment-id:2296674414 --> @ztsweet commented on GitHub (Aug 19, 2024): +1
Author
Owner

@trinhkiet0105 commented on GitHub (Aug 27, 2024):

hlstudio

It works! thank you

<!-- gh-comment-id:2311641696 --> @trinhkiet0105 commented on GitHub (Aug 27, 2024): > [hlstudio](/hlstudio) It works! thank you
Author
Owner

@codefromthecrypt commented on GitHub (Sep 1, 2024):

#6007 has most progress from the Qwen maintainer, so perhaps we can close this one and focus energy on getting the other sorted out?

<!-- gh-comment-id:2323546007 --> @codefromthecrypt commented on GitHub (Sep 1, 2024): #6007 has most progress from the Qwen maintainer, so perhaps we can close this one and focus energy on getting the other sorted out?
Author
Owner

@jmorganca commented on GitHub (Sep 2, 2024):

@codefromthecrypt thanks! Will close for https://github.com/ollama/ollama/issues/6007

<!-- gh-comment-id:2325389359 --> @jmorganca commented on GitHub (Sep 2, 2024): @codefromthecrypt thanks! Will close for https://github.com/ollama/ollama/issues/6007
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#66001