gemini-cli/packages
Taylor Mullen 9e1cfca53f Fix(chat): Finalize next speaker detection logic
- Enhance `checkNextSpeaker` to handle cases where the last message is a function response or an empty model message.
- If the last message is a function response, the model should speak next.
- If the last message is an empty model message, the model should speak next.
- This ensures more robust and accurate determination of the next speaker in the conversation, completing the fix for the issue.
- Updated tests.

Fixes https://github.com/google-gemini/gemini-cli/issues/551
2025-05-26 15:21:45 -07:00
..
cli Refactor(chat): Introduce custom Chat class for future modifications 2025-05-26 14:20:28 -07:00
server Fix(chat): Finalize next speaker detection logic 2025-05-26 15:21:45 -07:00