Skip to content

opencode never executes any creation actions #11064

Closed

Description

@sjasoft

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

Activity

  1. github-actions commented on Jan 29, 2026

    @github-actions
    Contributor

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

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

  2. sjasoft commented on Jan 29, 2026

    @sjasoft
    Author

    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
    }
    }
    }

  3. github-actions commented on Mar 30, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

  4. Jaydonchong commented on May 7, 2026

    @Jaydonchong

    Currently facing this issue as well, when asking to create a single file such as 'hello world' it is able to create it. However when asked to create a project (simple todolist) it somehow chooses to keep giving instructions rather than actually executing it.

    Usage: Ollama with qwen2.5-coder:3b

  5. kannandreams commented on Jun 14, 2026

    @kannandreams

    @Jaydonchong - I also faced the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions