Skip to content

Got an API Error: Model stream ended with an invalid chunk or missing finish reason. #8651

@scholesgx

Description

@scholesgx

What happened?

I asked Gemini to organize my sandbox into a proper project. I had .sql and .py files
I got an API Error, but it did what I asked it to do.

What did you expect to happen?

I expected the files to be organized into a python project with sql scripts that will be called from the python.

Client information

  • CLI Version: 0.5.3
  • Git Commit: cb34104
  • Session ID: 2c13ccd4-1b7b-4155-b59f-038f2b9993d4
  • Operating System: win32 v22.18.0
  • Sandbox Environment: no sandbox
  • Model Version: gemini-2.5-pro
  • Memory Usage: 183.0 MB

Login information

API key

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