Hacker News new | ask | show | jobs
by libraryofbabel 238 days ago
Does anyone know / care to speculate how they actually make this work, in terms of the LLM call loop? Specifically: does it call back to the LLM after each keystroke sending it the new state of the interactive tool, or does it batch keystrokes up? If the former, isn’t that very slow? If the latter, won’t that cause it to make mistakes with a tool it hasn’t used before?
1 comments

I think this is the PR that implemented the feature: https://github.com/google-gemini/gemini-cli/pull/6694

> feat(shell): enable interactive commands with virtual terminal