google-gemini / google-gemini/gemini-cli

"please continue" -> looping bug

Open
#18,844 1 comment 0 reactions 0 assignees View on GitHub
🔒 maintainer only area/agent kind/bug priority/p1 status/bot-triaged
Dominant language
TypeScript
Stars
107k
Forks
14.6k
Avg merge
2d 3h
Merged PRs (30d)
45

Description

### What happened?

GCLI sometimes injects a "System: please continue" prompt - https://screenshot.googleplex.com/6cwudnMin5A4NRz
and it seems the model goes into a repetitive loop frequently after this (3 pro specially). I think this could be because the model has not seen messages alongside function responses in regular training.

### What did you expect to happen?

Model looping should never happen

### Client information

Client Information

Run `gemini` to enter the interactive CLI, then run the `/about` command.

```console
> /about
# paste output here
```

### Login information

_No response_

### Anything else we need to know?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.