Skip to content

tool_call was output as text, not executed. #1406

@MyGodOnLoad

Description

@MyGodOnLoad

system platform:Docker + Ubuntu22.04 arm64
model platform:Mindie
model:qwen2.5:14B
the way to install opencode: curl -fsSL https://opencode.ai/install | bash

opencode.json

{
    "$schema": "https://opencode.ai/config.json",
    "provider": {
        "ollama": {
            "npm": "@ai-sdk/openai-compatible",
            "options": {
                "baseURL": "http://host.docker.internal:19067/v1"
            },
            "models": {
                "qwen2.5:14b": {
                    "tools": true
                }
            }
        }
    }
}

output:
<tool_call>{"name":"write", "arguments": {"filePath":"fast_sort.py", "content": "here is code content"}}</tool_call>

question:tool_call was output as text, tool was not executed.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions