at async Models.generateContentStream (file:///opt/hostedtoolcache/node/24.14.1/x64/lib/node_modules/@google/gemini-cli/bundle/chunk-JS5WSGB2.js:36690:16)
at async file:///opt/hostedtoolcache/node/24.14.1/x64/lib/node_modules/@google/gemini-cli/bundle/chunk-FNPZEX27.js:277597:19
at async file:///opt/hostedtoolcache/node/24.14.1/x64/lib/node_modules/@google/gemini-cli/bundle/chunk-FNPZEX27.js:254636:23
at async retryWithBackoff (file:///opt/hostedtoolcache/node/24.14.1/x64/lib/node_modules/@google/gemini-cli/bundle/chunk-FNPZEX27.js:274556:23)
at async GeminiChat.makeApiCallAndProcessStream (file:///opt/hostedtoolcache/node/24.14.1/x64/lib/node_modules/@google/gemini-cli/bundle/chunk-FNPZEX27.js:309884:28)
at async GeminiChat.streamWithRetries (file:///opt/hostedtoolcache/node/24.14.1/x64/lib/node_modules/@google/gemini-cli/bundle/chunk-FNPZEX27.js:309727:29)
at async Turn.run (file:///opt/hostedtoolcache/node/24.14.1/x64/lib/node_modules/@google/gemini-cli/bundle/chunk-FNPZEX27.js:310214:24) {
status: 400
}
{"type":"result","timestamp":"2026-04-15T02:40:05.231Z","status":"error","error":{"type":"unknown","message":"[API Error: {\"error\":{\"message\":\"{\\n \\\"error\\\": {\\n \\\"code\\\": 400,\\n \\\"message\\\": \\\"API key not valid. Please pass a valid API key.\\\",\\n \\\"status\\\": \\\"INVALID_ARGUMENT\\\",\\n \\\"details\\\": [\\n {\\n \\\"@type\\\": \\\"type.googleapis.com/google.rpc.ErrorInfo\\\",\\n \\\"reason\\\": \\\"API_KEY_INVALID\\\",\\n \\\"domain\\\": \\\"googleapis.com\\\",\\n \\\"metadata\\\": {\\n \\\"service\\\": \\\"generativelanguage.googleapis.com\\\"\\n }\\n },\\n {\\n \\\"@type\\\": \\\"type.googleapis.com/google.rpc.LocalizedMessage\\\",\\n \\\"locale\\\": \\\"en-US\\\",\\n \\\"message\\\": \\\"API key not valid. Please pass a valid API key.\\\"\\n }\\n ]\\n }\\n}\\n\",\"code\":400,\"status\":\"Bad Request\"}}]"},"stats":{"total_tokens":0,"input_tokens":0,"output_tokens":0,"cached":0,"input":0,"duration_ms":0,"tool_calls":0,"models":{"gemini-2.5-flash-lite":{"total_tokens":0,"input_tokens":0,"output_tokens":0,"cached":0,"input":0},"gemini-3.1-pro-preview":{"total_tokens":0,"input_tokens":0,"output_tokens":0,"cached":0,"input":0}}}}
Workflow Failure
Workflow: Smoke Gemini
Branch: HEAD
Run: https://github.com/github/gh-aw/actions/runs/24433538577
geminiengine terminated unexpectedly.Last agent output:
Action Required
Assign this issue to Copilot using the
agentic-workflowssub-agent to automatically debug and fix the workflow failure.Debug with any coding agent
Use this prompt with any coding agent (GitHub Copilot, Claude, Gemini, etc.):
Manually invoke the agent
Debug this workflow failure using your favorite Agent CLI and the
agentic-workflowsprompt.agentic-workflowsprompt from.github/agents/agentic-workflows.agent.mdor https://github.com/github/gh-aw/blob/main/.github/agents/agentic-workflows.agent.mddebug the agentic workflow smoke-gemini failure in https://github.com/github/gh-aw/actions/runs/24433538577Tip
Stop reporting this workflow as a failure
To stop a workflow from creating failure issues, set
report-failure-as-issue: falsein its frontmatter: