Skip to content

Reasoning is printed with a newline between each word using OpenCode w Copilot gpt 5.5 #608

@viblo

Description

@viblo

What version of HAPI is running?

0.17.4

What platform is your computer?

Linux 6.12.0-16000.8-default x86_64 unknown

What issue are you seeing?

Any time the agent prints out reasoning, its displayed with newlines between each step as shown in this screenshot:
Image

What steps can reproduce the bug?

It happens for any task I ask it to do as long as some reasoning text comes back.

What is the expected behavior?

Not newlines between each word in the reasoning output.

Additional information

This was tried with OpenCode, using the Github Copilot GPT 5.5 model.

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