[BUG] AI Assistant Terminal Commands Never Auto-Complete

I have the same and you can see its issuing a q to quit the terminal which is not understood -
main >1 *1 !1 q ok base py 10:37:58 AM
zsh: command not found: q