Skip to content

OpenRouter reasoning renders incorrectly in Agent Swarm TUI #259

@nicko-ai

Description

@nicko-ai

Agent Swarm CLI can render OpenRouter reasoning incorrectly in the TUI.

Observed with Claude Haiku 4.5 through OpenRouter:

  • reasoning text could duplicate or overlap while streaming
  • assistant text could appear before the reasoning block finished
  • the UI did not preserve the upstream-style Thinking spinner and Thought: <elapsed> transition

Expected behavior:

  • show Thinking while reasoning streams
  • show Thought: <elapsed> after reasoning completes
  • keep one coherent reasoning block followed by one assistant answer

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