I'm using vscode, new to continue and ollama, can't get it to write files, it just tells me it's an llm and can't write files. #11240
Replies: 2 comments 3 replies
-
|
From my point of view, this usually means there is a capability mismatch between chat mode and agent or edit mode rather than Ollama itself refusing file writes. If the model can only chat, it will describe the change instead of exercising the editor integration that actually writes to disk. The product could make this much clearer by surfacing whether the current session has edit tools enabled, because new users naturally read assistant capability problems as model problems. |
Beta Was this translation helpful? Give feedback.
-
|
You need to configure the model to have the appropriate roles for file writing: models:
name: qwen2.5-coder
provider: ollama
model: qwen2.5-coder:1.5b-base
apiBase: http://localhost:11434
roles:
autocomplete
write_filesAdding the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I set up my system based on this tutorial -> https://dev.to/anita_ihuman/best-offline-ai-coding-assistant-how-to-run-llms-locally-without-internet-2bah
Very basic... finally got the continue.dev with ollama and qwen to respond to me and it will tell me what to do, but I when I try to tell it to write files it tells me it can't.. how can I get this to write files?
Beta Was this translation helpful? Give feedback.
All reactions