The output includes tool invocations #6779

Open
opened 2026-02-16 18:05:14 -05:00 by yindo · 0 comments
Owner

Originally created by @zrq1523565 on GitHub (Jan 19, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

use opencode run "prompt" -m "openrouter/deepseek/deepseek-v3.2", it was found that the output contained tool invocations, and the tool failed to execute normally:

Image

I noticed that the issue was fixed in version 1.1.25, but the problem still persists:

Image

opencode.json:
{
"provider": {
"openrouter": {
"whitelist": ["deepseek/deepseek-v3.2"],
"npm": "@ai-sdk/openai-compatible",
"name": "openrouter",
"options": {
"baseURL": "https://openrouter.ai/api/v1"
},
"models": {
"deepseek/deepseek-v3.2": {
"name": "deepseek/deepseek-v3.2",
"interleaved": {
"field": "reasoning_content"
}
}
}
}
},
"$schema": "https://opencode.ai/config.json"
}

Plugins

no

OpenCode version

1.1.25

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

Ubuntu 22.04.5

Terminal

No response

Originally created by @zrq1523565 on GitHub (Jan 19, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description use opencode run "prompt" -m "openrouter/deepseek/deepseek-v3.2", it was found that the output contained tool invocations, and the tool failed to execute normally: <img width="1253" height="234" alt="Image" src="https://github.com/user-attachments/assets/fbb997e5-89b2-45ef-bdbd-ccaf11631309" /> I noticed that the issue was fixed in version 1.1.25, but the problem still persists: <img width="865" height="324" alt="Image" src="https://github.com/user-attachments/assets/eb1e254d-4b0d-48a9-b259-48ba4f15058b" /> opencode.json: { "provider": { "openrouter": { "whitelist": ["deepseek/deepseek-v3.2"], "npm": "@ai-sdk/openai-compatible", "name": "openrouter", "options": { "baseURL": "https://openrouter.ai/api/v1" }, "models": { "deepseek/deepseek-v3.2": { "name": "deepseek/deepseek-v3.2", "interleaved": { "field": "reasoning_content" } } } } }, "$schema": "https://opencode.ai/config.json" } ### Plugins no ### OpenCode version 1.1.25 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System Ubuntu 22.04.5 ### Terminal _No response_
yindo added the bug label 2026-02-16 18:05:14 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6779