opencode never executes any creation actions #7891

Open
opened 2026-02-16 18:08:35 -05:00 by yindo · 2 comments
Owner

Originally created by @sjasoft on GitHub (Jan 28, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

It will tell me the plan to create or edit files but it won't actually do it. It is like it makes its plan then just stops as if it is done. I have witnessed the same behavior on local and standard cloud models. There are no hidden agent files or anything. This is the latest version installed on 1/26/26

Plugins

No response

OpenCode version

most recent.

Steps to reproduce

hook up say gemini 2.5 flash and ask it to create a short story and write it to a file. No story written.

Screenshot and/or share link

No response

Operating System

linux (fedora)

Terminal

konsole

Originally created by @sjasoft on GitHub (Jan 28, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description It will tell me the plan to create or edit files but it won't actually do it. It is like it makes its plan then just stops as if it is done. I have witnessed the same behavior on local and standard cloud models. There are no hidden agent files or anything. This is the latest version installed on 1/26/26 ### Plugins _No response_ ### OpenCode version most recent. ### Steps to reproduce hook up say gemini 2.5 flash and ask it to create a short story and write it to a file. No story written. ### Screenshot and/or share link _No response_ ### Operating System linux (fedora) ### Terminal konsole
yindo added the bug label 2026-02-16 18:08:35 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 28, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #7030: Ollama (qwen2.5-coder): tool calls (edit/write) show as executed but no files are created/modified
  • #729: Opencode in linux cannot access tools or create files

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 28, 2026): This issue might be a duplicate of existing issues. Please check: - #7030: Ollama (qwen2.5-coder): tool calls (edit/write) show as executed but no files are created/modified - #729: Opencode in linux cannot access tools or create files Feel free to ignore if none of these address your specific case.
Author
Owner

@sjasoft commented on GitHub (Jan 28, 2026):

Actually it seems to fail on only some models. Specifically I have tried vllm, ollama, lmstudio for local models with similar or worse results. However I just tried gpt-4o mini and that worked fine. This makes me think there is something amiss or finicky in the tool call flow for the models that did not work.

Specifically I have tried the models in this opencode.json configuration.

{
"$schema": "https://opencode.ai/config.json",

"default_agent": "build",
"logLevel": "DEBUG",

"model": "vllm/Qwen/Qwen2.5-7B-Instruct-GPTQ-Int4",

"plugin": [
"opencode-antigravity-auth@latest"
],

"permission": {
"*": "allow"
},

"provider": {
"lmstudio": {
"npm": "@ai-sdk/openai-compatible",
"name": "LM Studio (local)",
"options": {
"baseURL": "http://localhost:1234/v1",
"timeout": 60000
},
"models": {
"llama_3.x_8b_smarteaz_0.1b-i1": {
"name": "llama_3.x_8b_smarteaz_0.1b-i1",
"tools": true,
"limit": {
"context": 16384,
"output": 4096
}
}
}
},

"vllm": {
  "npm": "@ai-sdk/openai-compatible",
  "name": "vLLM (local)",
  "options": {
    "baseURL": "http://localhost:8000/v1",
    "headers": {
      "Authorization": "Bearer my-secret-key"
    }
  },
  "models": {
    "Qwen/Qwen2.5-7B-Instruct-GPTQ-Int4": {
      "name": "Qwen/Qwen2.5-7B-Instruct-GPTQ-Int4",
      "tools": true,
      "limit": {
        "context": 32768,
        "output": 4096
      }
    },
    "Qwen/Qwen2.5-Coder-7B-Instruct-GPTQ-Int4": {
      "name": "Qwen/Qwen2.5-Coder-7B-Instruct-GPTQ-Int4",
      "tools": true,
      "limit": {
        "context": 32768,
        "output": 4096
      }
    }
  }
},

"google": {
  "models": {
    "antigravity-gemini-3-flash": {
      "name": "Gemini 3 Flash (Antigravity)",
      "limit": {
        "context": 1048576,
        "output": 65536
      },
      "modalities": {
        "input": [
          "text",
          "image",
          "pdf"
        ],
        "output": [
          "text"
        ]
      }
    }
  }
}

},

"agent": {
"build": {
"model": "vllm/Qwen/Qwen2.5-Coder-7B-Instruct-GPTQ-Int4"
}
},

"mcp": {
"local-mcp": {
"type": "local",
"command": [
"bun",
"x",
"opencode-mcp-local"
],
"enabled": true
}
}
}

@sjasoft commented on GitHub (Jan 28, 2026): Actually it seems to fail on only some models. Specifically I have tried vllm, ollama, lmstudio for local models with similar or worse results. However I just tried gpt-4o mini and that worked fine. This makes me think there is something amiss or finicky in the tool call flow for the models that did not work. Specifically I have tried the models in this opencode.json configuration. { "$schema": "https://opencode.ai/config.json", "default_agent": "build", "logLevel": "DEBUG", "model": "vllm/Qwen/Qwen2.5-7B-Instruct-GPTQ-Int4", "plugin": [ "opencode-antigravity-auth@latest" ], "permission": { "*": "allow" }, "provider": { "lmstudio": { "npm": "@ai-sdk/openai-compatible", "name": "LM Studio (local)", "options": { "baseURL": "http://localhost:1234/v1", "timeout": 60000 }, "models": { "llama_3.x_8b_smarteaz_0.1b-i1": { "name": "llama_3.x_8b_smarteaz_0.1b-i1", "tools": true, "limit": { "context": 16384, "output": 4096 } } } }, "vllm": { "npm": "@ai-sdk/openai-compatible", "name": "vLLM (local)", "options": { "baseURL": "http://localhost:8000/v1", "headers": { "Authorization": "Bearer my-secret-key" } }, "models": { "Qwen/Qwen2.5-7B-Instruct-GPTQ-Int4": { "name": "Qwen/Qwen2.5-7B-Instruct-GPTQ-Int4", "tools": true, "limit": { "context": 32768, "output": 4096 } }, "Qwen/Qwen2.5-Coder-7B-Instruct-GPTQ-Int4": { "name": "Qwen/Qwen2.5-Coder-7B-Instruct-GPTQ-Int4", "tools": true, "limit": { "context": 32768, "output": 4096 } } } }, "google": { "models": { "antigravity-gemini-3-flash": { "name": "Gemini 3 Flash (Antigravity)", "limit": { "context": 1048576, "output": 65536 }, "modalities": { "input": [ "text", "image", "pdf" ], "output": [ "text" ] } } } } }, "agent": { "build": { "model": "vllm/Qwen/Qwen2.5-Coder-7B-Instruct-GPTQ-Int4" } }, "mcp": { "local-mcp": { "type": "local", "command": [ "bun", "x", "opencode-mcp-local" ], "enabled": true } } }
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7891