gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

Frequent CountTokensRequest errors

Open rajaasim opened this issue 1 year ago • 3 comments

What happened?

while saving, resuming, continuing or compressing CountTokensRequest errors have been frequently observed, the issue needs higher priority as it has broken CLI other similar issues: #5500 #5575 #5592

What did you expect to happen?

No Frequent CountTokensRequest errors

Client information

CLI Version             0.1.20
Git Commit              214800cf
Model                   gemini-2.5-pro 
Sandbox                 no sandbox
OS                      win32
Auth Method             gemini-api-key

Login information

No response

Anything else we need to know?

No response

rajaasim avatar Aug 13 '25 14:08 rajaasim

+1

fiadigifrank avatar Aug 13 '25 14:08 fiadigifrank

I believe this issue shares the same root cause as the one I've analyzed in detail over in issue #5592 . To help consolidate the discussion, let's track the progress there.

can-non avatar Aug 18 '25 16:08 can-non

I agree. looks like a duplicate.

scidomino avatar Aug 18 '25 18:08 scidomino