void icon indicating copy to clipboard operation
void copied to clipboard

[Bug] Agent mode does not work with directories or files when using Ollama (v1.2.5)

Open Amuwa opened this issue 8 months ago • 8 comments

  1. Press Cmd+Shift+P in Void, and type Help: About. Paste the information here!
Void Version: 1.2.5
Release: 25107
VSCode Version: 1.99.0
Commit: 6f55e6900b6fce0e331074811f02bd68f15f293f
Date: 2025-04-17T06:02:24.513Z
Electron: 34.3.2
ElectronBuildId: undefined
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.3.0
  1. when switched to the agent mode and ask Void to create some code (via ollama), all commands and codes just go within the chat window. Even when click the little "apply" button above them, the commands and codes go nowhere, until you create those directories and files manually and open it with current tab.

In the configuration, "fast apply" and "auto-approve" are chosen.

Amuwa avatar Apr 18 '25 13:04 Amuwa

What Ollama model are you using?

andrewpareles avatar Apr 18 '25 14:04 andrewpareles

What Ollama model are you using?

I've tried the following models:

deepcoder:latest qwq:latest
gemma3:27b
phi4:latest
deepseek-r1:32b
mistral-small:latest
llama3.2:latest

Amuwa avatar Apr 19 '25 06:04 Amuwa

I've only tried with deepcoder but I confirm the same behaviour.

Also, when linking some existing files, it sometimes seemed to have only the filepath and not the actual file content (not sure how to reproduce, it wasn't happening at first)

bonswouar avatar Apr 19 '25 10:04 bonswouar

Same problem, any idea to fix it?

hokimtam avatar Apr 23 '25 03:04 hokimtam

+1

VSCode Version: 1.99.30001 Void Version: 1.2.8 Commit: df721c5370330e8595904681fccac163f11e4cef Date: 2025-04-29T09:25:38.597Z Electron: 34.3.2 ElectronBuildId: undefined Chromium: 132.0.6834.210 Node.js: 20.18.3 V8: 13.2.152.41-electron.0 OS: Linux x64 6.11.0-21-generic

hlesesne avatar Apr 30 '25 19:04 hlesesne

Hi, I have the same issue, I asked @graphcms.api.ts Add comments to all the functions, it does provide appropriate comments on the chat window even though I selected Agent mode. I'm using local qwen2.5-coder:7b-instruct-fp16 model. I press ▶️ Apply, it attempts to run but does nothing after a while.

Note: Using Fast Apply

sidster-io avatar May 04 '25 17:05 sidster-io

Same issue here

karim2001 avatar Jun 03 '25 09:06 karim2001

Try with this model https://huggingface.co/bartowski/all-hands_openhands-lm-32b-v0.1-GGUF There is project called openhands with similar goal thus could learn from their experience see for instance this, they trained their model. Tough they say it shouldn't be used as gguf. Dunno why.

I had partial-success with it. Could you share your experience with it plz? Image

UPDATE: This is why it's partial:

Image

michalszmidt avatar Jun 19 '25 15:06 michalszmidt