Skip to content

bug: read tool fails to read file that have invalid utf-8 chars #1832

@laststylebender14

Description

@laststylebender14
➜  forge git:(main) ✗ : check @[/Users/ranjit/.zsh_history:11975:11983]                                                                      
⏺ [17:08:35] Continue 9ec2b8d2-fbdc-41fa-81eb-3d8057381f26 [via forge/anthropic/claude-sonnet-4.5]
⏺ [17:08:35] ERROR: Failed to read file content from /Users/ranjit/.zsh_history

Caused by:
    stream did not contain valid UTF-8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions