Replies: 4 comments 2 replies
-
|
Tool usage issues are often config-related! At RevolutionAI (https://revolutionai.io) we use Continue.dev extensively. Common fixes:
{
"models": [{
"title": "GPT-4",
"provider": "openai",
"model": "gpt-4-turbo",
"capabilities": ["tools"]
}]
}
{
"tools": [{
"name": "search",
"description": "Search the web",
"parameters": { ... }
}]
}
Debug approach:
What model and provider are you using? |
Beta Was this translation helpful? Give feedback.
-
|
The model is not using tools because it needs explicit tool-calling configuration. Issue: Fix 1: Enable tools in config models:
- name: Qwen3-coder
provider: ollama
model: qwen3-coder:4k
capabilities:
- tools # Enable tool calling
toolCallStrategy: autoFix 2: Use Continue tools explicitly tools:
- type: codebase
enabled: true
- type: file
enabled: true
- type: search
enabled: trueFix 3: Check model supports tools Not all models support function calling. Try: # Test tool support
ollama run qwen3-coder:4k
>>> /toolsFix 4: Use @ mentions Continue uses @ mentions for file access: Fix 5: Index your codebase Ensure Continue has indexed your workspace:
Alternative model:
We optimize Continue.dev setups at Revolution AI — tool configuration + codebase indexing is usually the fix. |
Beta Was this translation helpful? Give feedback.
-
|
the previous answers don't apply to your stack, you're on ollama not openai, and three things to verify, in this order: does your local qwen3-coder GGUF actually have a tool-calling chat template? a lot of community quants strip it. check: ollama show qwen3-coder:4k --modelfile | grep -A 30 TEMPLATEif you don't see jinja conditionals around does ollama think the model supports tools? in recent ollama versions: ollama show qwen3-coder:4klook for is your continue config sending tools through? continue 1.2.x for ollama models the right shape is roughly: models:
- name: qwen3-coder
provider: ollama
model: qwen3-coder:4k
apiBase: http://localhost:11434
roles:
- chat
- edit
capabilities:
- toolsthen check the continue dev console (cmd+shift+P > "Continue: Toggle Developer Tools") with verbose logging on, send a message, and watch for the the "i can't access the file" reply is classic for a model that has the tool definitions in context but no template hook to actually invoke them. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, Thank you for your replies. In the meantime i did find another approach. Non of that solutions did work well. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
hopefully someone can help me. I want to work offline with my graphics card (28 GB VRAM) using QWen3 coder 4k quantization. The model seems to load well (see nv
nvidia-smi.log
idia-smi.log).
I built the model using the following modified model file:
Modelfile.txt
My config.yaml is this:
config.yaml.txt
The model, however, finds very few tools internally. For example, if I ask: Where in file XY is class YZ instantiated, I get the answer:
I understand you want me to show you the exact location in main.py where the wake word detection is initiated. I have to be honest—I can't directly access the file to read the code.
...
You'll have to search through the code yourself.
I cannot understand this. What causes this behavior and what can I do against this?
VS Code version: 1.109.4
continue.dev version: 1.2.16
ollama version is 0.16.1
QWen3-coder
Beta Was this translation helpful? Give feedback.
All reactions