Skip to content

tool call results in JSON unmarshal error #3880

Description

@mgood

Description

Over the last few days, I've had this come up several times where after tool calls I get:

ERROR Provider Error
json: cannot unmarshal string into Go value of type apierror.Error

This seems like there's some other underlying error, but it's getting masked by the unmarshalling where there's a field for the error, but apierror.Error doesn't implement Unmarshaller.
In this case it happened after an LSP Diagnostics tool call, but I'm not sure if the others were the same.
I'll try to get more info if it happens again.

Version

0.95.0

Environment

Mac, Ghostty, nono sandboxing

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions