gemini-cli
gemini-cli copied to clipboard
Consecutive "role=user" contents in history
What happened?
The docs say the role for each Content object should alternate between user and model. But there are at least two situations where we don't do that.
- when adding the IDE context.
- When canceling function call requests.
What did you expect to happen?
We shouldn't do that.
Client information
Client Information
Run gemini to enter the interactive CLI, then run the /about command.
> /about
# paste output here
Login information
No response
Anything else we need to know?
No response