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

Gemini fails when comparing docs with embedding content

Open timezyme opened this issue 2 weeks ago • 0 comments

What happened?

Simply asked G to find total entities generated w/in artifacts

│ dDsyGp87p9wQOygMizxLKgg8IYFgukC0xLrRl2s72WIDPHeWx7ufvyc8Zyftu2jprTudGZe8Q1TpOrv5/rsGPbe7TY0RPOBG8DvhzOg7CObgu5twsDsN9g28Fa7rvLQOS │ │ bkpgc086gJYPDQTDDwHisW6ds3Qu+RBhjwN2gk+VhlmO9qMQjwckWu8nDCEugdEJzxZcXw8APG4O4nSGzwugBE8ZVyHvFXB/js9sg48AmOcO7fmwTubG0q80sMZPFy6db │ │ xsYZu75iAVPKV0bzyes6e4nfFQPNjBBLwj3ZO7dN4TO/3bjbzjOQM8tqmdvOg1ojsCJ6G8VjDBuzPXfTwWTW28wQeSPB8VljzOswS7RfQvvI9GQLwh72E7UrouPHMzxDs │ │ K/2A7TEQCPEuyFL3qS4A+bKr6utSPMrwTwTE8fFYLvUQydzy+mFC7oa0FO5MVKjx3PN477sIMu+K2BrwA36i7uBmDO7gnAzz/bQu8vTmVO0h4tjsEC4Y8plmsO5BZPjxl │ │ Scw7dCtlOw5N+TsljA67ntCJvH9iEjxwOYc8njWYO0u4zjxIEcQ7XXXcu/F7ebsN8yS9eHnzO+uaHTyrAaE7NDOhutVuRzoO2y28VDJ8PAidiDxmibe61NCLusNPprsqj │ │ 1W72O3YvKqCazu0u587SwUJvM4fkzspJzk8et5Pu+BNmDt+k5m7hRbdPA9SPDwI0oe77ybrOlJrubu4C/k5PnWRPDmryDrUiy28kOYOO3scATygcNA7"} │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ✕ [API Error: [{ "error": { "code": 400, "message": "The input token count (1250869) exceeds the maximum number of tokens allowed (1048576).", "errors": [ { "message": "The input token count (1250869) exceeds the maximum number of tokens allowed (1048576).", "domain": "global", "reason": "badRequest" } ], "status": "INVALID_ARGUMENT" } } ]]

What did you expect to happen?

G to find total number of entities

Client information

  • CLI Version: 0.20.0
  • Git Commit: d0ce3c4c5
  • Session ID: 168737be-2ad0-4203-9092-de4e579ad42d
  • Operating System: darwin v24.11.1
  • Sandbox Environment: no sandbox
  • Model Version: auto
  • Memory Usage: 512.2 MB

Login information

No response

Anything else we need to know?

No response

timezyme avatar Dec 12 '25 19:12 timezyme