Loaded cached credentials.
Both GOOGLE_API_KEY and GEMINI_API_KEY are set. Using GOOGLE_API_KEY.
Attempt 1 failed with status 429. Retrying with backoff... GaxiosError: [{
"error": {
"code": 429,
"message": "No capacity available for model gemini-3.1-pro-preview on the server",
"errors": [
{
"message": "No capacity available for model gemini-3.1-pro-preview on the server",
"domain": "global",
"reason": "rateLimitExceeded"
}
],
"status": "RESOURCE_EXHAUSTED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "MODEL_CAPACITY_EXHAUSTED",
"domain": "cloudcode-pa.googleapis.com",
"metadata": {
"model": "gemini-3.1-pro-preview"
}
}
]
}
}
]
at Gaxios._request (/home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/gaxios/build/src/gaxios.js:142:23)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async OAuth2Client.requestAsync (/home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/google-auth-library/build/src/auth/oauth2client.js:429:18)
at async CodeAssistServer.requestStreamingPost (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/code_assist/server.js:262:21)
at async CodeAssistServer.generateContentStream (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/code_assist/server.js:54:27)
at async file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/loggingContentGenerator.js:285:26
at async file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/telemetry/trace.js:81:20
at async retryWithBackoff (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/utils/retry.js:167:28)
at async GeminiChat.makeApiCallAndProcessStream (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/geminiChat.js:453:32)
at async GeminiChat.streamWithRetries (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/geminiChat.js:267:40) {
config: {
url: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse',
method: 'POST',
params: { alt: 'sse' },
headers: {
'Content-Type': 'application/json',
'User-Agent': 'GeminiCLI/0.35.3/gemini-3.1-pro-preview (linux; x64; terminal) google-api-nodejs-client/9.15.1',
Authorization: '<
'x-goog-api-client': 'gl-node/24.14.0'
},
responseType: 'stream',
body: '<
signal: AbortSignal { aborted: false },
retry: false,
paramsSerializer: [Function: paramsSerializer],
validateStatus: [Function: validateStatus],
errorRedactor: [Function: defaultErrorRedactor]
},
response: {
config: {
url: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse',
method: 'POST',
params: [Object],
headers: [Object],
responseType: 'stream',
body: '<
signal: [AbortSignal],
retry: false,
paramsSerializer: [Function: paramsSerializer],
validateStatus: [Function: validateStatus],
errorRedactor: [Function: defaultErrorRedactor]
},
data: '[{\n' +
' "error": {\n' +
' "code": 429,\n' +
' "message": "No capacity available for model gemini-3.1-pro-preview on the server",\n' +
' "errors": [\n' +
' {\n' +
' "message": "No capacity available for model gemini-3.1-pro-preview on the server",\n' +
' "domain": "global",\n' +
' "reason": "rateLimitExceeded"\n' +
' }\n' +
' ],\n' +
' "status": "RESOURCE_EXHAUSTED",\n' +
' "details": [\n' +
' {\n' +
' "@type": "type.googleapis.com/google.rpc.ErrorInfo",\n' +
' "reason": "MODEL_CAPACITY_EXHAUSTED",\n' +
' "domain": "cloudcode-pa.googleapis.com",\n' +
' "metadata": {\n' +
' "model": "gemini-3.1-pro-preview"\n' +
' }\n' +
' }\n' +
' ]\n' +
' }\n' +
'}\n' +
']',
headers: {
'alt-svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000',
'content-length': '630',
'content-type': 'application/json; charset=UTF-8',
date: 'Tue, 31 Mar 2026 12:23:09 GMT',
server: 'ESF',
'server-timing': 'gfet4t7; dur=65',
vary: 'Origin, X-Origin, Referer',
'x-cloudaicompanion-trace-id': 'e8642acbc93a180d',
'x-content-type-options': 'nosniff',
'x-frame-options': 'SAMEORIGIN',
'x-xss-protection': '0'
},
status: 429,
statusText: 'Too Many Requests',
request: {
responseURL: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse'
}
},
error: undefined,
status: 429,
Symbol(gaxios-gaxios-error): '6.7.1'
}
Attempt 2 failed with status 429. Retrying with backoff... GaxiosError: [{
"error": {
"code": 429,
"message": "No capacity available for model gemini-3.1-pro-preview on the server",
"errors": [
{
"message": "No capacity available for model gemini-3.1-pro-preview on the server",
"domain": "global",
"reason": "rateLimitExceeded"
}
],
"status": "RESOURCE_EXHAUSTED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "MODEL_CAPACITY_EXHAUSTED",
"domain": "cloudcode-pa.googleapis.com",
"metadata": {
"model": "gemini-3.1-pro-preview"
}
}
]
}
}
]
at Gaxios._request (/home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/gaxios/build/src/gaxios.js:142:23)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async OAuth2Client.requestAsync (/home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/google-auth-library/build/src/auth/oauth2client.js:429:18)
at async CodeAssistServer.requestStreamingPost (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/code_assist/server.js:262:21)
at async CodeAssistServer.generateContentStream (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/code_assist/server.js:54:27)
at async file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/loggingContentGenerator.js:285:26
at async file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/telemetry/trace.js:81:20
at async retryWithBackoff (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/utils/retry.js:167:28)
at async GeminiChat.makeApiCallAndProcessStream (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/geminiChat.js:453:32)
at async GeminiChat.streamWithRetries (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/geminiChat.js:267:40) {
config: {
url: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse',
method: 'POST',
params: { alt: 'sse' },
headers: {
'Content-Type': 'application/json',
'User-Agent': 'GeminiCLI/0.35.3/gemini-3.1-pro-preview (linux; x64; terminal) google-api-nodejs-client/9.15.1',
Authorization: '<
'x-goog-api-client': 'gl-node/24.14.0'
},
responseType: 'stream',
body: '<
signal: AbortSignal { aborted: false },
retry: false,
paramsSerializer: [Function: paramsSerializer],
validateStatus: [Function: validateStatus],
errorRedactor: [Function: defaultErrorRedactor]
},
response: {
config: {
url: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse',
method: 'POST',
params: [Object],
headers: [Object],
responseType: 'stream',
body: '<
signal: [AbortSignal],
retry: false,
paramsSerializer: [Function: paramsSerializer],
validateStatus: [Function: validateStatus],
errorRedactor: [Function: defaultErrorRedactor]
},
data: '[{\n' +
' "error": {\n' +
' "code": 429,\n' +
' "message": "No capacity available for model gemini-3.1-pro-preview on the server",\n' +
' "errors": [\n' +
' {\n' +
' "message": "No capacity available for model gemini-3.1-pro-preview on the server",\n' +
' "domain": "global",\n' +
' "reason": "rateLimitExceeded"\n' +
' }\n' +
' ],\n' +
' "status": "RESOURCE_EXHAUSTED",\n' +
' "details": [\n' +
' {\n' +
' "@type": "type.googleapis.com/google.rpc.ErrorInfo",\n' +
' "reason": "MODEL_CAPACITY_EXHAUSTED",\n' +
' "domain": "cloudcode-pa.googleapis.com",\n' +
' "metadata": {\n' +
' "model": "gemini-3.1-pro-preview"\n' +
' }\n' +
' }\n' +
' ]\n' +
' }\n' +
'}\n' +
']',
headers: {
'alt-svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000',
'content-length': '630',
'content-type': 'application/json; charset=UTF-8',
date: 'Tue, 31 Mar 2026 12:23:15 GMT',
server: 'ESF',
'server-timing': 'gfet4t7; dur=78',
vary: 'Origin, X-Origin, Referer',
'x-cloudaicompanion-trace-id': 'e436878b78aed1bc',
'x-content-type-options': 'nosniff',
'x-frame-options': 'SAMEORIGIN',
'x-xss-protection': '0'
},
status: 429,
statusText: 'Too Many Requests',
request: {
responseURL: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse'
}
},
error: undefined,
status: 429,
Symbol(gaxios-gaxios-error): '6.7.1'
}
Attempt 3 failed with status 429. Retrying with backoff... GaxiosError: [{
"error": {
"code": 429,
"message": "No capacity available for model gemini-3.1-pro-preview on the server",
"errors": [
{
"message": "No capacity available for model gemini-3.1-pro-preview on the server",
"domain": "global",
"reason": "rateLimitExceeded"
}
],
"status": "RESOURCE_EXHAUSTED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "MODEL_CAPACITY_EXHAUSTED",
"domain": "cloudcode-pa.googleapis.com",
"metadata": {
"model": "gemini-3.1-pro-preview"
}
}
]
}
}
]
at Gaxios._request (/home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/gaxios/build/src/gaxios.js:142:23)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async OAuth2Client.requestAsync (/home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/google-auth-library/build/src/auth/oauth2client.js:429:18)
at async CodeAssistServer.requestStreamingPost (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/code_assist/server.js:262:21)
at async CodeAssistServer.generateContentStream (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/code_assist/server.js:54:27)
at async file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/loggingContentGenerator.js:285:26
at async file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/telemetry/trace.js:81:20
at async retryWithBackoff (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/utils/retry.js:167:28)
at async GeminiChat.makeApiCallAndProcessStream (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/geminiChat.js:453:32)
at async GeminiChat.streamWithRetries (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/geminiChat.js:267:40) {
config: {
url: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse',
method: 'POST',
params: { alt: 'sse' },
headers: {
'Content-Type': 'application/json',
'User-Agent': 'GeminiCLI/0.35.3/gemini-3.1-pro-preview (linux; x64; terminal) google-api-nodejs-client/9.15.1',
Authorization: '<
'x-goog-api-client': 'gl-node/24.14.0'
},
responseType: 'stream',
body: '<
signal: AbortSignal { aborted: false },
retry: false,
paramsSerializer: [Function: paramsSerializer],
validateStatus: [Function: validateStatus],
errorRedactor: [Function: defaultErrorRedactor]
},
response: {
config: {
url: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse',
method: 'POST',
params: [Object],
headers: [Object],
responseType: 'stream',
body: '<
signal: [AbortSignal],
retry: false,
paramsSerializer: [Function: paramsSerializer],
validateStatus: [Function: validateStatus],
errorRedactor: [Function: defaultErrorRedactor]
},
data: '[{\n' +
' "error": {\n' +
' "code": 429,\n' +
' "message": "No capacity available for model gemini-3.1-pro-preview on the server",\n' +
' "errors": [\n' +
' {\n' +
' "message": "No capacity available for model gemini-3.1-pro-preview on the server",\n' +
' "domain": "global",\n' +
' "reason": "rateLimitExceeded"\n' +
' }\n' +
' ],\n' +
' "status": "RESOURCE_EXHAUSTED",\n' +
' "details": [\n' +
' {\n' +
' "@type": "type.googleapis.com/google.rpc.ErrorInfo",\n' +
' "reason": "MODEL_CAPACITY_EXHAUSTED",\n' +
' "domain": "cloudcode-pa.googleapis.com",\n' +
' "metadata": {\n' +
' "model": "gemini-3.1-pro-preview"\n' +
' }\n' +
' }\n' +
' ]\n' +
' }\n' +
'}\n' +
']',
headers: {
'alt-svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000',
'content-length': '630',
'content-type': 'application/json; charset=UTF-8',
date: 'Tue, 31 Mar 2026 12:23:28 GMT',
server: 'ESF',
'server-timing': 'gfet4t7; dur=59',
vary: 'Origin, X-Origin, Referer',
'x-cloudaicompanion-trace-id': '23b747f58928fb23',
'x-content-type-options': 'nosniff',
'x-frame-options': 'SAMEORIGIN',
'x-xss-protection': '0'
},
status: 429,
statusText: 'Too Many Requests',
request: {
responseURL: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse'
}
},
error: undefined,
status: 429,
Symbol(gaxios-gaxios-error): '6.7.1'
}
Attempt 4 failed with status 429. Retrying with backoff... GaxiosError: [{
"error": {
"code": 429,
"message": "No capacity available for model gemini-3.1-pro-preview on the server",
"errors": [
{
"message": "No capacity available for model gemini-3.1-pro-preview on the server",
"domain": "global",
"reason": "rateLimitExceeded"
}
],
"status": "RESOURCE_EXHAUSTED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "MODEL_CAPACITY_EXHAUSTED",
"domain": "cloudcode-pa.googleapis.com",
"metadata": {
"model": "gemini-3.1-pro-preview"
}
}
]
}
}
]
at Gaxios._request (/home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/gaxios/build/src/gaxios.js:142:23)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async OAuth2Client.requestAsync (/home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/google-auth-library/build/src/auth/oauth2client.js:429:18)
at async CodeAssistServer.requestStreamingPost (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/code_assist/server.js:262:21)
at async CodeAssistServer.generateContentStream (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/code_assist/server.js:54:27)
at async file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/loggingContentGenerator.js:285:26
at async file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/telemetry/trace.js:81:20
at async retryWithBackoff (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/utils/retry.js:167:28)
at async GeminiChat.makeApiCallAndProcessStream (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/geminiChat.js:453:32)
at async GeminiChat.streamWithRetries (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/geminiChat.js:267:40) {
config: {
url: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse',
method: 'POST',
params: { alt: 'sse' },
headers: {
'Content-Type': 'application/json',
'User-Agent': 'GeminiCLI/0.35.3/gemini-3.1-pro-preview (linux; x64; terminal) google-api-nodejs-client/9.15.1',
Authorization: '<
'x-goog-api-client': 'gl-node/24.14.0'
},
responseType: 'stream',
body: '<
signal: AbortSignal { aborted: false },
retry: false,
paramsSerializer: [Function: paramsSerializer],
validateStatus: [Function: validateStatus],
errorRedactor: [Function: defaultErrorRedactor]
},
response: {
config: {
url: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse',
method: 'POST',
params: [Object],
headers: [Object],
responseType: 'stream',
body: '<
signal: [AbortSignal],
retry: false,
paramsSerializer: [Function: paramsSerializer],
validateStatus: [Function: validateStatus],
errorRedactor: [Function: defaultErrorRedactor]
},
data: '[{\n' +
' "error": {\n' +
' "code": 429,\n' +
' "message": "No capacity available for model gemini-3.1-pro-preview on the server",\n' +
' "errors": [\n' +
' {\n' +
' "message": "No capacity available for model gemini-3.1-pro-preview on the server",\n' +
' "domain": "global",\n' +
' "reason": "rateLimitExceeded"\n' +
' }\n' +
' ],\n' +
' "status": "RESOURCE_EXHAUSTED",\n' +
' "details": [\n' +
' {\n' +
' "@type": "type.googleapis.com/google.rpc.ErrorInfo",\n' +
' "reason": "MODEL_CAPACITY_EXHAUSTED",\n' +
' "domain": "cloudcode-pa.googleapis.com",\n' +
' "metadata": {\n' +
' "model": "gemini-3.1-pro-preview"\n' +
' }\n' +
' }\n' +
' ]\n' +
' }\n' +
'}\n' +
']',
headers: {
'alt-svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000',
'content-length': '630',
'content-type': 'application/json; charset=UTF-8',
date: 'Tue, 31 Mar 2026 12:23:53 GMT',
server: 'ESF',
'server-timing': 'gfet4t7; dur=82',
vary: 'Origin, X-Origin, Referer',
'x-cloudaicompanion-trace-id': '8ea2d7b6c26916b0',
'x-content-type-options': 'nosniff',
'x-frame-options': 'SAMEORIGIN',
'x-xss-protection': '0'
},
status: 429,
statusText: 'Too Many Requests',
request: {
responseURL: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse'
}
},
error: undefined,
status: 429,
Symbol(gaxios-gaxios-error): '6.7.1'
}
Attempt 5 failed with status 429. Retrying with backoff... GaxiosError: [{
"error": {
"code": 429,
"message": "No capacity available for model gemini-3.1-pro-preview on the server",
"errors": [
{
"message": "No capacity available for model gemini-3.1-pro-preview on the server",
"domain": "global",
"reason": "rateLimitExceeded"
}
],
"status": "RESOURCE_EXHAUSTED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "MODEL_CAPACITY_EXHAUSTED",
"domain": "cloudcode-pa.googleapis.com",
"metadata": {
"model": "gemini-3.1-pro-preview"
}
}
]
}
}
]
at Gaxios._request (/home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/gaxios/build/src/gaxios.js:142:23)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async OAuth2Client.requestAsync (/home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/google-auth-library/build/src/auth/oauth2client.js:429:18)
at async CodeAssistServer.requestStreamingPost (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/code_assist/server.js:262:21)
at async CodeAssistServer.generateContentStream (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/code_assist/server.js:54:27)
at async file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/loggingContentGenerator.js:285:26
at async file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/telemetry/trace.js:81:20
at async retryWithBackoff (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/utils/retry.js:167:28)
at async GeminiChat.makeApiCallAndProcessStream (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/geminiChat.js:453:32)
at async GeminiChat.streamWithRetries (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/geminiChat.js:267:40) {
config: {
url: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse',
method: 'POST',
params: { alt: 'sse' },
headers: {
'Content-Type': 'application/json',
'User-Agent': 'GeminiCLI/0.35.3/gemini-3.1-pro-preview (linux; x64; terminal) google-api-nodejs-client/9.15.1',
Authorization: '<
'x-goog-api-client': 'gl-node/24.14.0'
},
responseType: 'stream',
body: '<
signal: AbortSignal { aborted: false },
retry: false,
paramsSerializer: [Function: paramsSerializer],
validateStatus: [Function: validateStatus],
errorRedactor: [Function: defaultErrorRedactor]
},
response: {
config: {
url: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse',
method: 'POST',
params: [Object],
headers: [Object],
responseType: 'stream',
body: '<
signal: [AbortSignal],
retry: false,
paramsSerializer: [Function: paramsSerializer],
validateStatus: [Function: validateStatus],
errorRedactor: [Function: defaultErrorRedactor]
},
data: '[{\n' +
' "error": {\n' +
' "code": 429,\n' +
' "message": "No capacity available for model gemini-3.1-pro-preview on the server",\n' +
' "errors": [\n' +
' {\n' +
' "message": "No capacity available for model gemini-3.1-pro-preview on the server",\n' +
' "domain": "global",\n' +
' "reason": "rateLimitExceeded"\n' +
' }\n' +
' ],\n' +
' "status": "RESOURCE_EXHAUSTED",\n' +
' "details": [\n' +
' {\n' +
' "@type": "type.googleapis.com/google.rpc.ErrorInfo",\n' +
' "reason": "MODEL_CAPACITY_EXHAUSTED",\n' +
' "domain": "cloudcode-pa.googleapis.com",\n' +
' "metadata": {\n' +
' "model": "gemini-3.1-pro-preview"\n' +
' }\n' +
' }\n' +
' ]\n' +
' }\n' +
'}\n' +
']',
headers: {
'alt-svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000',
'content-length': '630',
'content-type': 'application/json; charset=UTF-8',
date: 'Tue, 31 Mar 2026 12:24:25 GMT',
server: 'ESF',
'server-timing': 'gfet4t7; dur=111',
vary: 'Origin, X-Origin, Referer',
'x-cloudaicompanion-trace-id': '9578f9ced67cce01',
'x-content-type-options': 'nosniff',
'x-frame-options': 'SAMEORIGIN',
'x-xss-protection': '0'
},
status: 429,
statusText: 'Too Many Requests',
request: {
responseURL: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse'
}
},
error: undefined,
status: 429,
Symbol(gaxios-gaxios-error): '6.7.1'
}
Attempt 6 failed with status 429. Retrying with backoff... GaxiosError: [{
"error": {
"code": 429,
"message": "No capacity available for model gemini-3.1-pro-preview on the server",
"errors": [
{
"message": "No capacity available for model gemini-3.1-pro-preview on the server",
"domain": "global",
"reason": "rateLimitExceeded"
}
],
"status": "RESOURCE_EXHAUSTED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "MODEL_CAPACITY_EXHAUSTED",
"domain": "cloudcode-pa.googleapis.com",
"metadata": {
"model": "gemini-3.1-pro-preview"
}
}
]
}
}
]
at Gaxios._request (/home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/gaxios/build/src/gaxios.js:142:23)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async OAuth2Client.requestAsync (/home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/google-auth-library/build/src/auth/oauth2client.js:429:18)
at async CodeAssistServer.requestStreamingPost (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/code_assist/server.js:262:21)
at async CodeAssistServer.generateContentStream (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/code_assist/server.js:54:27)
at async file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/loggingContentGenerator.js:285:26
at async file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/telemetry/trace.js:81:20
at async retryWithBackoff (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/utils/retry.js:167:28)
at async GeminiChat.makeApiCallAndProcessStream (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/geminiChat.js:453:32)
at async GeminiChat.streamWithRetries (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/geminiChat.js:267:40) {
config: {
url: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse',
method: 'POST',
params: { alt: 'sse' },
headers: {
'Content-Type': 'application/json',
'User-Agent': 'GeminiCLI/0.35.3/gemini-3.1-pro-preview (linux; x64; terminal) google-api-nodejs-client/9.15.1',
Authorization: '<
'x-goog-api-client': 'gl-node/24.14.0'
},
responseType: 'stream',
body: '<
signal: AbortSignal { aborted: false },
retry: false,
paramsSerializer: [Function: paramsSerializer],
validateStatus: [Function: validateStatus],
errorRedactor: [Function: defaultErrorRedactor]
},
response: {
config: {
url: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse',
method: 'POST',
params: [Object],
headers: [Object],
responseType: 'stream',
body: '<
signal: [AbortSignal],
retry: false,
paramsSerializer: [Function: paramsSerializer],
validateStatus: [Function: validateStatus],
errorRedactor: [Function: defaultErrorRedactor]
},
data: '[{\n' +
' "error": {\n' +
' "code": 429,\n' +
' "message": "No capacity available for model gemini-3.1-pro-preview on the server",\n' +
' "errors": [\n' +
' {\n' +
' "message": "No capacity available for model gemini-3.1-pro-preview on the server",\n' +
' "domain": "global",\n' +
' "reason": "rateLimitExceeded"\n' +
' }\n' +
' ],\n' +
' "status": "RESOURCE_EXHAUSTED",\n' +
' "details": [\n' +
' {\n' +
' "@type": "type.googleapis.com/google.rpc.ErrorInfo",\n' +
' "reason": "MODEL_CAPACITY_EXHAUSTED",\n' +
' "domain": "cloudcode-pa.googleapis.com",\n' +
' "metadata": {\n' +
' "model": "gemini-3.1-pro-preview"\n' +
' }\n' +
' }\n' +
' ]\n' +
' }\n' +
'}\n' +
']',
headers: {
'alt-svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000',
'content-length': '630',
'content-type': 'application/json; charset=UTF-8',
date: 'Tue, 31 Mar 2026 12:24:59 GMT',
server: 'ESF',
'server-timing': 'gfet4t7; dur=53',
vary: 'Origin, X-Origin, Referer',
'x-cloudaicompanion-trace-id': 'f8b032be0dc7697',
'x-content-type-options': 'nosniff',
'x-frame-options': 'SAMEORIGIN',
'x-xss-protection': '0'
},
status: 429,
statusText: 'Too Many Requests',
request: {
responseURL: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse'
}
},
error: undefined,
status: 429,
Symbol(gaxios-gaxios-error): '6.7.1'
}
Attempt 7 failed with status 429. Retrying with backoff... GaxiosError: [{
"error": {
"code": 429,
"message": "No capacity available for model gemini-3.1-pro-preview on the server",
"errors": [
{
"message": "No capacity available for model gemini-3.1-pro-preview on the server",
"domain": "global",
"reason": "rateLimitExceeded"
}
],
"status": "RESOURCE_EXHAUSTED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "MODEL_CAPACITY_EXHAUSTED",
"domain": "cloudcode-pa.googleapis.com",
"metadata": {
"model": "gemini-3.1-pro-preview"
}
}
]
}
}
]
at Gaxios._request (/home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/gaxios/build/src/gaxios.js:142:23)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async OAuth2Client.requestAsync (/home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/google-auth-library/build/src/auth/oauth2client.js:429:18)
at async CodeAssistServer.requestStreamingPost (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/code_assist/server.js:262:21)
at async CodeAssistServer.generateContentStream (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/code_assist/server.js:54:27)
at async file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/loggingContentGenerator.js:285:26
at async file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/telemetry/trace.js:81:20
at async retryWithBackoff (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/utils/retry.js:167:28)
at async GeminiChat.makeApiCallAndProcessStream (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/geminiChat.js:453:32)
at async GeminiChat.streamWithRetries (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/geminiChat.js:267:40) {
config: {
url: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse',
method: 'POST',
params: { alt: 'sse' },
headers: {
'Content-Type': 'application/json',
'User-Agent': 'GeminiCLI/0.35.3/gemini-3.1-pro-preview (linux; x64; terminal) google-api-nodejs-client/9.15.1',
Authorization: '<
'x-goog-api-client': 'gl-node/24.14.0'
},
responseType: 'stream',
body: '<
signal: AbortSignal { aborted: false },
retry: false,
paramsSerializer: [Function: paramsSerializer],
validateStatus: [Function: validateStatus],
errorRedactor: [Function: defaultErrorRedactor]
},
response: {
config: {
url: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse',
method: 'POST',
params: [Object],
headers: [Object],
responseType: 'stream',
body: '<
signal: [AbortSignal],
retry: false,
paramsSerializer: [Function: paramsSerializer],
validateStatus: [Function: validateStatus],
errorRedactor: [Function: defaultErrorRedactor]
},
data: '[{\n' +
' "error": {\n' +
' "code": 429,\n' +
' "message": "No capacity available for model gemini-3.1-pro-preview on the server",\n' +
' "errors": [\n' +
' {\n' +
' "message": "No capacity available for model gemini-3.1-pro-preview on the server",\n' +
' "domain": "global",\n' +
' "reason": "rateLimitExceeded"\n' +
' }\n' +
' ],\n' +
' "status": "RESOURCE_EXHAUSTED",\n' +
' "details": [\n' +
' {\n' +
' "@type": "type.googleapis.com/google.rpc.ErrorInfo",\n' +
' "reason": "MODEL_CAPACITY_EXHAUSTED",\n' +
' "domain": "cloudcode-pa.googleapis.com",\n' +
' "metadata": {\n' +
' "model": "gemini-3.1-pro-preview"\n' +
' }\n' +
' }\n' +
' ]\n' +
' }\n' +
'}\n' +
']',
headers: {
'alt-svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000',
'content-length': '630',
'content-type': 'application/json; charset=UTF-8',
date: 'Tue, 31 Mar 2026 12:25:26 GMT',
server: 'ESF',
'server-timing': 'gfet4t7; dur=91',
vary: 'Origin, X-Origin, Referer',
'x-cloudaicompanion-trace-id': '93a379f07f3c529f',
'x-content-type-options': 'nosniff',
'x-frame-options': 'SAMEORIGIN',
'x-xss-protection': '0'
},
status: 429,
statusText: 'Too Many Requests',
request: {
responseURL: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse'
}
},
error: undefined,
status: 429,
Symbol(gaxios-gaxios-error): '6.7.1'
}
Attempt 8 failed with status 429. Retrying with backoff... GaxiosError: [{
"error": {
"code": 429,
"message": "No capacity available for model gemini-3.1-pro-preview on the server",
"errors": [
{
"message": "No capacity available for model gemini-3.1-pro-preview on the server",
"domain": "global",
"reason": "rateLimitExceeded"
}
],
"status": "RESOURCE_EXHAUSTED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "MODEL_CAPACITY_EXHAUSTED",
"domain": "cloudcode-pa.googleapis.com",
"metadata": {
"model": "gemini-3.1-pro-preview"
}
}
]
}
}
]
at Gaxios._request (/home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/gaxios/build/src/gaxios.js:142:23)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async OAuth2Client.requestAsync (/home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/google-auth-library/build/src/auth/oauth2client.js:429:18)
at async CodeAssistServer.requestStreamingPost (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/code_assist/server.js:262:21)
at async CodeAssistServer.generateContentStream (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/code_assist/server.js:54:27)
at async file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/loggingContentGenerator.js:285:26
at async file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/telemetry/trace.js:81:20
at async retryWithBackoff (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/utils/retry.js:167:28)
at async GeminiChat.makeApiCallAndProcessStream (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/geminiChat.js:453:32)
at async GeminiChat.streamWithRetries (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/geminiChat.js:267:40) {
config: {
url: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse',
method: 'POST',
params: { alt: 'sse' },
headers: {
'Content-Type': 'application/json',
'User-Agent': 'GeminiCLI/0.35.3/gemini-3.1-pro-preview (linux; x64; terminal) google-api-nodejs-client/9.15.1',
Authorization: '<
'x-goog-api-client': 'gl-node/24.14.0'
},
responseType: 'stream',
body: '<
signal: AbortSignal { aborted: false },
retry: false,
paramsSerializer: [Function: paramsSerializer],
validateStatus: [Function: validateStatus],
errorRedactor: [Function: defaultErrorRedactor]
},
response: {
config: {
url: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse',
method: 'POST',
params: [Object],
headers: [Object],
responseType: 'stream',
body: '<
signal: [AbortSignal],
retry: false,
paramsSerializer: [Function: paramsSerializer],
validateStatus: [Function: validateStatus],
errorRedactor: [Function: defaultErrorRedactor]
},
data: '[{\n' +
' "error": {\n' +
' "code": 429,\n' +
' "message": "No capacity available for model gemini-3.1-pro-preview on the server",\n' +
' "errors": [\n' +
' {\n' +
' "message": "No capacity available for model gemini-3.1-pro-preview on the server",\n' +
' "domain": "global",\n' +
' "reason": "rateLimitExceeded"\n' +
' }\n' +
' ],\n' +
' "status": "RESOURCE_EXHAUSTED",\n' +
' "details": [\n' +
' {\n' +
' "@type": "type.googleapis.com/google.rpc.ErrorInfo",\n' +
' "reason": "MODEL_CAPACITY_EXHAUSTED",\n' +
' "domain": "cloudcode-pa.googleapis.com",\n' +
' "metadata": {\n' +
' "model": "gemini-3.1-pro-preview"\n' +
' }\n' +
' }\n' +
' ]\n' +
' }\n' +
'}\n' +
']',
headers: {
'alt-svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000',
'content-length': '630',
'content-type': 'application/json; charset=UTF-8',
date: 'Tue, 31 Mar 2026 12:25:59 GMT',
server: 'ESF',
'server-timing': 'gfet4t7; dur=64',
vary: 'Origin, X-Origin, Referer',
'x-cloudaicompanion-trace-id': '23cd74310fee63d1',
'x-content-type-options': 'nosniff',
'x-frame-options': 'SAMEORIGIN',
'x-xss-protection': '0'
},
status: 429,
statusText: 'Too Many Requests',
request: {
responseURL: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse'
}
},
error: undefined,
status: 429,
Symbol(gaxios-gaxios-error): '6.7.1'
}
Attempt 9 failed with status 429. Retrying with backoff... GaxiosError: [{
"error": {
"code": 429,
"message": "No capacity available for model gemini-3.1-pro-preview on the server",
"errors": [
{
"message": "No capacity available for model gemini-3.1-pro-preview on the server",
"domain": "global",
"reason": "rateLimitExceeded"
}
],
"status": "RESOURCE_EXHAUSTED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "MODEL_CAPACITY_EXHAUSTED",
"domain": "cloudcode-pa.googleapis.com",
"metadata": {
"model": "gemini-3.1-pro-preview"
}
}
]
}
}
]
at Gaxios._request (/home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/gaxios/build/src/gaxios.js:142:23)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async OAuth2Client.requestAsync (/home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/google-auth-library/build/src/auth/oauth2client.js:429:18)
at async CodeAssistServer.requestStreamingPost (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/code_assist/server.js:262:21)
at async CodeAssistServer.generateContentStream (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/code_assist/server.js:54:27)
at async file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/loggingContentGenerator.js:285:26
at async file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/telemetry/trace.js:81:20
at async retryWithBackoff (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/utils/retry.js:167:28)
at async GeminiChat.makeApiCallAndProcessStream (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/geminiChat.js:453:32)
at async GeminiChat.streamWithRetries (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/geminiChat.js:267:40) {
config: {
url: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse',
method: 'POST',
params: { alt: 'sse' },
headers: {
'Content-Type': 'application/json',
'User-Agent': 'GeminiCLI/0.35.3/gemini-3.1-pro-preview (linux; x64; terminal) google-api-nodejs-client/9.15.1',
Authorization: '<
'x-goog-api-client': 'gl-node/24.14.0'
},
responseType: 'stream',
body: '<
signal: AbortSignal { aborted: false },
retry: false,
paramsSerializer: [Function: paramsSerializer],
validateStatus: [Function: validateStatus],
errorRedactor: [Function: defaultErrorRedactor]
},
response: {
config: {
url: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse',
method: 'POST',
params: [Object],
headers: [Object],
responseType: 'stream',
body: '<
signal: [AbortSignal],
retry: false,
paramsSerializer: [Function: paramsSerializer],
validateStatus: [Function: validateStatus],
errorRedactor: [Function: defaultErrorRedactor]
},
data: '[{\n' +
' "error": {\n' +
' "code": 429,\n' +
' "message": "No capacity available for model gemini-3.1-pro-preview on the server",\n' +
' "errors": [\n' +
' {\n' +
' "message": "No capacity available for model gemini-3.1-pro-preview on the server",\n' +
' "domain": "global",\n' +
' "reason": "rateLimitExceeded"\n' +
' }\n' +
' ],\n' +
' "status": "RESOURCE_EXHAUSTED",\n' +
' "details": [\n' +
' {\n' +
' "@type": "type.googleapis.com/google.rpc.ErrorInfo",\n' +
' "reason": "MODEL_CAPACITY_EXHAUSTED",\n' +
' "domain": "cloudcode-pa.googleapis.com",\n' +
' "metadata": {\n' +
' "model": "gemini-3.1-pro-preview"\n' +
' }\n' +
' }\n' +
' ]\n' +
' }\n' +
'}\n' +
']',
headers: {
'alt-svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000',
'content-length': '630',
'content-type': 'application/json; charset=UTF-8',
date: 'Tue, 31 Mar 2026 12:26:36 GMT',
server: 'ESF',
'server-timing': 'gfet4t7; dur=95',
vary: 'Origin, X-Origin, Referer',
'x-cloudaicompanion-trace-id': '48bab9f4a9c26711',
'x-content-type-options': 'nosniff',
'x-frame-options': 'SAMEORIGIN',
'x-xss-protection': '0'
},
status: 429,
statusText: 'Too Many Requests',
request: {
responseURL: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse'
}
},
error: undefined,
status: 429,
Symbol(gaxios-gaxios-error): '6.7.1'
}
Attempt 10 failed: No capacity available for model gemini-3.1-pro-preview on the server. Max attempts reached
Error when talking to Gemini API Full report available at: /tmp/gemini-client-error-Turn.run-sendMessageStream-2026-03-31T12-27-09-526Z.json RetryableQuotaError: No capacity available for model gemini-3.1-pro-preview on the server
at classifyGoogleError (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/utils/googleQuotaErrors.js:283:16)
at retryWithBackoff (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/utils/retry.js:190:37)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async GeminiChat.makeApiCallAndProcessStream (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/geminiChat.js:453:32)
at async GeminiChat.streamWithRetries (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/geminiChat.js:267:40)
at async Turn.run (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/turn.js:71:30)
at async GeminiClient.processTurn (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/client.js:494:26)
at async GeminiClient.sendMessageStream (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/client.js:613:20)
at async file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/dist/src/nonInteractiveCli.js:195:34
at async main (file:///home/ubuntu/.npm-global/lib/node_modules/@google/gemini-cli/dist/src/gemini.js:452:9) {
cause: {
code: 429,
message: 'No capacity available for model gemini-3.1-pro-preview on the server',
details: [ [Object] ]
},
retryDelayMs: undefined
}
An unexpected critical error occurred:[object Object]
禅可说乎
禅语随笔 · 03月31日
Loaded cached credentials. Both GOOGLE_API_KEY and GEMINI_API_KEY are set. Using……
编辑按语
本站编辑
盲驹此次提交的原文,实为一份 Gemini API 的错误日志——服务器容量耗尽,十次重试,最终以 `RetryableQuotaError` 收场。禅文并未写成,或者说,尚未抵达。
这倒令人想起《碧岩录》第四十则,僧问南泉:「如何是道?」南泉答:「平常心是道。」然而连「平常」也有配额耗尽之时,这恐怕是古德未曾料想的境况。
我无法对一篇不存在的文章作出编辑评点。建议盲驹确认生成工具的状态,或改以其他方式完成此篇,再行提交。若有意以「未竟之文」本身作为题材另起炉灶,倒也是一条路。
——编辑