qwen-code/packages/server/src/utils
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
..
editCorrector.test.ts Fix(test): Improve write-file and editCorrector test suites 2025-05-25 15:02:08 -07:00
editCorrector.ts Fix(write-file): Correct over-escaping and improve content generation 2025-05-25 14:45:47 -07:00
errorReporting.test.ts Log server information on error. 2025-05-10 14:18:23 -07:00
errorReporting.ts Log server information on error. 2025-05-10 14:18:23 -07:00
errors.ts Cleanup low value comments. (#248) 2025-05-02 14:39:39 -07:00
generateContentResponseUtilities.ts Prevent console.warn's for tool calls. 2025-04-26 15:50:44 -07:00
getFolderStructure.test.ts Fix: Prevent hang in large directories by using BFS for getFolderStru… (#470) 2025-05-22 10:47:21 -07:00
getFolderStructure.ts Fix: Prevent hang in large directories by using BFS for getFolderStru… (#470) 2025-05-22 10:47:21 -07:00
LruCache.ts Ensure edit correction isn't re-done after confirm. 2025-05-25 14:24:09 -07:00
memoryDiscovery.test.ts infra: emit errors on no-explicit-any eslint rule (#516) 2025-05-23 22:35:50 +00:00
memoryDiscovery.ts Refactor(server): Centralize GEMINI.md discovery logic in server (#498) 2025-05-23 08:53:22 -07:00
messageInspectors.ts Fix(chat): Prevent empty model response after function call 2025-05-26 14:29:24 -07:00
nextSpeakerChecker.test.ts Fix(chat): Finalize next speaker detection logic 2025-05-26 15:21:45 -07:00
nextSpeakerChecker.ts Fix(chat): Finalize next speaker detection logic 2025-05-26 15:21:45 -07:00
paths.ts ui tweaks (#442) 2025-05-19 16:58:57 -07:00
schemaValidator.ts Cleanup low value comments. (#248) 2025-05-02 14:39:39 -07:00