Skip to content

ToolResultBlock should be part of UserMessage #20

@cvbhjkl

Description

@cvbhjkl

Currently in types.py, ToolResultBlock is part of AssistantMessage, but according to the stream-json format output of claude-code version 1.0.25, ToolResultBlock is part of UserMessage, which causes the current ToolResult to not be parsed correctly.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions