Skip to content

Only return tool_call parameters but can not run the tool with local LLM #7486

Closed as not planned

Description

@liujinkitty666-source

Description

  1. Air-gapped env, start a local llm “Qwen3-32B” or “Qwen3-Coder-30B-A3B-Instruct” with vllm
  2. Windows10 vscode, install opencode plugin to use this provider and give a simple prompt "introduce this project"
    It only returns the the tool_call parameters but doesnot run the tool.
    response:
<tool_call>
{"name": "glob", "arguments": {"pattern": "*/"}}
</tool_call>

configuration:

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "lmstudio": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "LM Studio (local)",
      "options": {
        "baseURL": "https://10.200.10.122:8088/v1"
      },
      "models": {
        "Qwen/Qwen3-Coder-30B-A3B-Instruct": {
          "name": "Qwen/Qwen3-Coder-30B-A3B-Instruct",
          "tool_call": true,
          "reasoning": true
        }
      }
    }
  }
}
Image

Activity

  1. sorokinmax commented on Mar 13, 2026

    @sorokinmax

    The same problem occurs when using the Step 3.5 Flash model via the connected OpenRouter in the OpenCode desktop application.

  2. removed
    bugSomething isn't working
    on May 3, 2026
  3. supperman009 commented on May 13, 2026

    @supperman009

    Has the problem been solved? I'm having the same issue as you. The model works fine when accessed in Hermes, but the same problem occurs when accessing it in OpenCode — the tool call content is directly displayed in the conversation window.

  4. supperman009 commented on May 13, 2026

    @supperman009

    hermes is ok

    Image
  5. github-actions commented on Jul 13, 2026

    @github-actions
    Contributor

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

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions