gemini-cli/packages
Taylor Mullen 597dc86a9c Fix(chat): Prevent empty model response after function call
- Addresses a Gemini model bug where it may return an empty content object after a function response.
- Previously, the SDK attempted to inject an empty model message, which could disrupt curated history.
- This change modifies our custom  class to detect this scenario using an  utility and avoid pushing an unnecessary empty model message, thus preserving history integrity.

Workaround for https://b.corp.google.com/issues/420354090
Part of https://github.com/google-gemini/gemini-cli/issues/551
2025-05-26 14:29:24 -07:00
..
cli Refactor(chat): Introduce custom Chat class for future modifications 2025-05-26 14:20:28 -07:00
server Fix(chat): Prevent empty model response after function call 2025-05-26 14:29:24 -07:00