BUG NIGHTMARE - ✕ [API Error: Unexpected line format in response: ,]
What happened?
Every time I start a conversation with GEMINI, I don't know if it's because of some ""," added to the conversation, but it stops the conversation and the error appears and I have to rewrite the same thing to GEMINI, this is tedious, and the error appears many times during the conversation, this had not happened before.
What did you expect to happen?
not error api
Client information
About Gemini CLI
CLI Version 0.7.0-preview.0
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
yeah i think this is the cause the , is breaking it, as soon i remove it works thanks
yeah i think this is the cause the , is breaking it, as soon i remove it works thanks
I thought that as well, but unfortunately, after I stopped using commas in my next prompts, the error still occurred.
here's my conversation: ✦ Yes, both buttons have the exact same styling properties, including identical padding (px-3 py-1.5) and font size (text-sm).
However, their final rendered widths are slightly different because the text inside them ("Prihlásenie" and "Registrácia") has a different number of characters.
If you'd like them to be the exact same width, I can apply a fixed width to both. Should I do that?
╭─────────╮ │ > yes │ ╰─────────╯
✕ [API Error: Unexpected line format in response: ,]
│ About Gemini CLI │ │ │ │ CLI Version 0.6.0 │ │ Git Commit 7e1bce72 │ | * Session ID: 739782fd-6b84-4831-959b-4398b24eaaf6 | │ Model gemini-2.5-pro │ │ Sandbox no sandbox │ │ OS win32 │ │ Auth Method OAuth │ │ IDE Client VS Code
seeing the same issue
Same for every single prompt
Is google interested in fixing this bug or what? I am using 0.7.0 on MacOS 15.6 - authentication via oauth. Here's the error:
{ "error": { "message": "Unexpected line format in response: ,", "stack": "Error: Unexpected line format in response: ,\n at file:///Users/shanna.murry/.nodenv/versions/20.19.3/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/code_assist/server.js:128:27\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async file:///Users/shanna.murry/.nodenv/versions/20.19.3/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/code_assist/server.js:27:30\n at async LoggingContentGenerator.loggingStreamWrapper (file:///Users/shanna.murry/.nodenv/versions/20.19.3/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/loggingContentGenerator.js:70:30)\n at async GeminiChat.stopBeforeSecondMutator (file:///Users/shanna.murry/.nodenv/versions/20.19.3/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/geminiChat.js:480:26)\n at async GeminiChat.processStreamResponse (file:///Users/shanna.murry/.nodenv/versions/20.19.3/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/geminiChat.js:374:26)\n at async file:///Users/shanna.murry/.nodenv/versions/20.19.3/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/geminiChat.js:215:42\n at async Turn.run (file:///Users/shanna.murry/.nodenv/versions/20.19.3/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/turn.js:59:30)\n at async GeminiClient.sendMessageStream (file:///Users/shanna.murry/.nodenv/versions/20.19.3/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/client.js:405:26)\n at async file:///Users/shanna.murry/.nodenv/versions/20.19.3/lib/node_modules/@google/gemini-cli/dist/src/ui/hooks/useGeminiStream.js:401:26" },