gemini-cli/packages/server/src/utils
Taylor Mullen d159a1507e Don't prematurely end convo w/ Gemini.
- There seems to be a root model bug where the model will preemptively bail on conversations without trying harder. Typically the stops are VERY obvious and bug-looking where you need to prmopt the model to "continue".
- This PR attempts to fix the above by running a 2.0-flash request (don't need somethign more powerful) at the end of every full interaction to see who should speak (user or model).
- Add tests for nextSpeakerChecker

Fixes https://b.corp.google.com/issues/416826051
2025-05-10 14:05:58 -07:00
..
BackgroundTerminalAnalyzer.ts Cleanup low value comments. (#248) 2025-05-02 14:39:39 -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.ts Cleanup low value comments. (#248) 2025-05-02 14:39:39 -07:00
nextSpeakerChecker.test.ts Don't prematurely end convo w/ Gemini. 2025-05-10 14:05:58 -07:00
nextSpeakerChecker.ts Don't prematurely end convo w/ Gemini. 2025-05-10 14:05:58 -07:00
paths.ts Cleanup low value comments. (#248) 2025-05-02 14:39:39 -07:00
schemaValidator.ts Cleanup low value comments. (#248) 2025-05-02 14:39:39 -07:00