Skip to content

[Bug]: Plan handoff from Prometheus to other agents breaks session and outputs error 'Bad Request: Bad Request' #1355

@bigguy345

Description

@bigguy345

Prerequisites

  • I will write this issue in English (see our Language Policy)
  • I have searched existing issues to avoid duplicates
  • I am using the latest version of oh-my-opencode
  • I have read the documentation

Bug Description

First time using opencode in a few days. After Prometheus finalizes a plan and directs me to /start-work, the session basically fails from there. It becomes unresponsive to any agent/model, and outputs a constant stream of 'Bad Request: Bad Request' as the SYSTEM DIRECTIVE enforces the boulder continuation like in the images below.

Steps to Reproduce

  1. Run latest opencode with latest oh-my-opencode release
  2. Plan with Prometheus just about anything
  3. Start plan with '/start-work' or just type 'Implement' with any other model or agent
  4. I'm not sure beyond that, this was what I've done so far. If there are logs stored somewhere that I can send, please do tell

Expected Behavior

This should not happen. The handoff from Prometheus should be accepted by the other agents without causing this 'Bad Request'

Actual Behavior

IMG1: MANUAL HANDOFF
Image

IMG2: BOULDER CONTINUATION
Image

Doctor Output

Installation
────────────────────────────────────────
  ✓ OpenCode Installation → 1.1.48
  ✓ Plugin Registration → Registered

Configuration
────────────────────────────────────────
  ✓ Configuration Validity → Valid JSON config
  ✓ Model Resolution → 10 agents, 8 categories (7 overrides), 2396 available

Authentication
────────────────────────────────────────
  ✓ Anthropic (Claude) Auth → Auth plugin available
  ✓ OpenAI (ChatGPT) Auth → Auth plugin available
  ✓ Google (Gemini) Auth → Auth plugin available

Dependencies
────────────────────────────────────────
  ✓ AST-Grep CLI → installed
  ✓ AST-Grep NAPI → installed
  ⚠ Comment Checker → Not installed (optional)

Tools & Servers
────────────────────────────────────────
  ⚠ GitHub CLI → Not installed (optional)
  ⚠ LSP Servers → No LSP servers detected
  ✓ Built-in MCP Servers → 2 built-in servers enabled
  ○ User MCP Configuration → No user MCP configuration found
  ○ MCP OAuth Tokens → No OAuth tokens configured

Updates
────────────────────────────────────────
  ⚠ Version Status → Unable to determine current version

Summary
────────────────────────────────────────

  10 passed, 0 failed, 4 warnings, 2 skipped
  Total: 16 checks in 1418ms

⚠ All systems operational with warnings.

Error Logs

Configuration

{
  "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
  "google_auth": false,
  "agents": {
    "sisyphus": {
      "model": "github-copilot/claude-sonnet-4.5" 
    },
    "atlas": {
      "model": "github-copilot/claude-sonnet-4.5" 
    },
    "prometheus": {
      "model": "openai/gpt-5.2",
      "variant": "high"
    },
  }
}

Additional Context

No response

Operating System

Windows

OpenCode Version

1.1.48

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions