Skip to content

google/gemini-3-pro: Failed after 3 attempts. Last error: Internal error encountered. #102

@konard

Description

@konard
Login successful
│
└  Done

root@vmi2738690:~# echo "hi" | agent --model google/gemini-3-pro
{
  "type": "status",
  "mode": "stdin-stream",
  "message": "Agent CLI in continuous listening mode. Accepts JSON and plain text input.",
  "hint": "Press CTRL+C to exit. Use --help for options.",
  "acceptedFormats": [
    "JSON object with \"message\" field",
    "Plain text"
  ],
  "options": {
    "interactive": true,
    "autoMergeQueuedMessages": true,
    "alwaysAcceptStdin": true,
    "compactJson": false
  }
}
{
  "type": "error",
  "errorType": "UnhandledRejection",
  "message": "Failed after 3 attempts. Last error: Internal error encountered.",
  "stack": "AI_RetryError: Failed after 3 attempts. Last error: Internal error encountered.\n    at _retryWithExponentialBackoff (/root/.bun/install/global/node_modules/ai/dist/index.mjs:1940:17)\n    at processTicksAndRejections (native:7:39)"
}
root@vmi2738690:~#

Full log with --verbose: https://gist.github.com/api2appdev/1932c95e6c3cc96d1fd5f207c081b4bd

Use for reference:

https://github.com/google-gemini/gemini-cli
http://github.com/sst/opencode

Please download all logs and data related about the issue to this repository, make sure we compile that data to ./docs/case-studies/issue-{id} folder, and use it to do deep case study analysis (also make sure to search online for additional facts and data), in which we will reconstruct timeline/sequence of events, find root causes of the problem, and propose possible solutions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions