Checklist
I use opencode with locally running LLMs. Here is a fraction of my opencode configuration:
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@tarquinen/opencode-dcp@latest"],
"model": "blablador/alias-fast",
"small_model": "blablador/alias-fast",
"permission": {
"edit": "ask",
"bash": "ask",
"webfetch": "allow"
},
When the agent is supposed to modify a code buffer, the following happens: (Taken from *Messages*.)
Press RET or y to Allow once
Allow once
Reverting buffer ‘controllers.go’
controllers.go changed on disk; really edit the buffer? (y, n, r or C-h) r
LSP :: Disconnected
Press RET or y to Allow once
Allow once
(I use gopls as my Go LSP server.)
This seems to mean that the source code file is changed twice: Once directly in the file system, and then by patching the buffer contents. Funny enough, there is a second edit which happened without issues.
The traffic is here: https://wilson.bronger.org/traffic
Checklist
I use opencode with locally running LLMs. Here is a fraction of my opencode configuration:
When the agent is supposed to modify a code buffer, the following happens: (Taken from
*Messages*.)(I use gopls as my Go LSP server.)
This seems to mean that the source code file is changed twice: Once directly in the file system, and then by patching the buffer contents. Funny enough, there is a second edit which happened without issues.
The traffic is here: https://wilson.bronger.org/traffic