gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

[API Error: Unexpected line format in response: ,]

Open jazir555 opened this issue 1 year ago • 3 comments

What happened?

[API Error: Unexpected line format in response: ,]

Error ends the task, have to reprompt for it to continue

What did you expect to happen?

No API error or retry mechanism after it fails so the task continues

Client information

│ │ │ CLI Version 0.6.1 │ │ Git Commit f3078136 │ │ Model gemini-2.5-pro │ │ Sandbox no sandbox │ │ OS win32 │ │ Auth Method OAuth │ │

Login information

No response

Anything else we need to know?

No response

jazir555 avatar Sep 26 '25 01:09 jazir555

Hi Thanks for your feedback,

Would you be able to share additional information about when you run into this issue? Is it usually during the same (or similar) prompts? ) if so is there anything you can share with us to help us reproduce this issue?

Additionally, do you see it frequently or is it infrequent?

Looking forward to hearing back from you.

srithreepo avatar Sep 26 '25 20:09 srithreepo

Happens randomly, no discernable cause. All I did was tell it to work on my python project which is relatively large. I see it somewhat infrequently, the other API errors I submitted are far more frequent than this one.

I can try to see if I can find this error in the logs maybe. To answer your other question, same project, I don't think it's the prompt but rather the project code

jazir555 avatar Sep 26 '25 20:09 jazir555

Same issue for every prompt i use

shannamurry avatar Oct 03 '25 14:10 shannamurry