summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/hooks/useToolScheduler.ts
diff options
context:
space:
mode:
authorTaylor Mullen <[email protected]>2025-05-26 14:39:29 -0700
committerN. Taylor Mullen <[email protected]>2025-05-26 15:21:45 -0700
commit9e1cfca53f4e71697f883c17d71bfcae86f01408 (patch)
tree126b9789bb98992a9af236b436b7399ed8192887 /packages/cli/src/ui/hooks/useToolScheduler.ts
parentc92d4edb8956e9040abf55060d90e52a1572f435 (diff)
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
Diffstat (limited to 'packages/cli/src/ui/hooks/useToolScheduler.ts')
0 files changed, 0 insertions, 0 deletions