mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-23 12:30:43 -07:00
Fix: Process all parts in response chunks when thought is first (#13539)
This commit is contained in:
@@ -81,7 +81,7 @@ export function getResponseText(
|
||||
candidate.content.parts.length > 0
|
||||
) {
|
||||
return candidate.content.parts
|
||||
.filter((part) => part.text)
|
||||
.filter((part) => part.text && !part.thought)
|
||||
.map((part) => part.text)
|
||||
.join('');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user