-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
Question
Description
When using qwen2.5-coder:14b with OpenCode, the model attempts to call tools (like todorantum) for simple conversational inputs instead of responding normally.
Steps to Reproduce
Set up OpenCode with Ollama provider
Use model: qwen2.5-coder:14b
Send a simple greeting: hi
Model responds with a tool call instead of a direct response
Expected Behavior
User: hi
Assistant: Hello! How can I help you today?
Actual Behavior
User: hi
Assistant: {
"name": "todorantum",
"arguments": {
"input": "hi"
}
}
Environment
Provider: Ollama
Model: qwen2.5-coder:14b
Ollama Version: 0.13.5
GPU: NVIDIA RTX 5070 Ti (16GB VRAM)
OS: Arch Linux
Model
architecture qwen2
parameters 14.8B
context length 32768
embedding length 5120
quantization Q4_K_M
Capabilities
completion
tools
insert
System
You are Qwen, created by Alibaba Cloud. You are a helpful assistant.
License
Apache License
Version 2.0, January 2004
...
"provider": {
"ollama": {
"npm": "@ai-sdk/openai-compatible",
"name": "Ollama (local)",
"options": {
"baseURL": "http://localhost:11434/v1"
},
"models": {
"qwen2.5-coder:14b": {
"name": "qwen2.5-coder:14b",
"tools": true,
"thinking": true,
}
},
}
}
