Skip to content

[Bug] GPT OSS 120B subagent stops mid-reasoning and returns empty result after several tool calls #27210

Description

@YoungJurry

Description

When using GPT OSS 120B (OpenAI open-weight reasoning model, 117B) as a subagent via the task tool, the subagent executes tool calls correctly for several iterations, but then during a subsequent <think> reasoning step it stops abruptly and exits, returning an empty result to the orchestrator.

The subagent session log shows the model produced a valid text response after the tool calls, but the orchestrator receives an empty <task_result>.

Key observations:

Plugins

opencode-dcp

OpenCode version

latest

Steps to reproduce

  1. Configure GPT OSS 120B as a subagent (via openai-compatible provider or ollama)
  2. From the main session, delegate a multi-step task via task tool to the GPT OSS 120B subagent
  3. Let the subagent execute 2-3 tool calls (read files, run commands, etc.)
  4. Observe that after the tools execute, during the model's next reasoning step, execution halts
  5. The orchestrator receives empty/void result

Screenshot and/or share link

No response

Operating System

Linux

Terminal

No response

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