Skip to content

✕ [API Error: Model stream ended with an invalid chunk or missing finish reason.] #8589

@jasonisop

Description

@jasonisop

What happened?

got this error after a task that had the ai doing multiple steps. not sure if this is part of the issue or not but context left did not change from 100% and ive had the ai do many things that for sure would have used some. The ai did have a few failed tool uses in the same task, but this one happened after it completed some edit work and then it errored right after a readfile.

What did you expect to happen?

Not to error

Client information

  • CLI Version: 0.4.1
  • Git Commit: 70ff7a3
  • Session ID: 9a7f5e06-a930-4a28-b214-840956c3681f
  • Operating System: win32 v22.19.0
  • Sandbox Environment: no sandbox
  • Model Version: gemini-2.5-pro
  • Memory Usage: 184.8 MB
  • IDE Client: VS Code

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p2Important but can be addressed in a future release.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions