Skip to content

Stream path can omit reasoning-start for downstream UI #25191

@jackmazac

Description

@jackmazac

Description

Some model streams emit reasoning deltas without an explicit reasoning-start boundary. Downstream code that expects a start event before deltas can mis-handle or drop reasoning.

Steps to reproduce

Use a provider/stream combo that emits reasoning content without a leading start marker; observe session message assembly.

OpenCode version

Local / dev branch

Operating System

Any

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions