Hi there! I've reported this a few different places but haven't seemed to figure out where the actual correct place is, so apologies if this is another miss!
Environment details
- Programming language: Typescript
- OS: Windows
- Language runtime version: Node v24.16.0
- Package version: @google/genai ^2.3.0
Steps to reproduce
(I've been specifically developing with stream: true, so stream: false or background: true are untested)
- Call GoogleGenAi.interactions.create with agent: "antigravity-preview-05-2026", input: anyPrompt, and stream: true. capture the interactionId and environmentId
- Wait an hour
- Call again, passing in stream:true and the interactionId and environmentId, and a prompt like "write a hello-world script, read it, run it, then delete it"
- Capture the response stream.
Expected: Agent writes/reads/runs/deletes a hello-world script
Observed: Agent begins receiving 401 Unauthorized errors in response to basic internal tools (read_file, write_file, delete_file, code_execution) and is unable to perform any task, resorting to simple text-out behavior and describing what it would do if tools were working.
I hope this gets where it needs to go, if this is the right place and any extra information is needed, let me know!
Hi there! I've reported this a few different places but haven't seemed to figure out where the actual correct place is, so apologies if this is another miss!
Environment details
Steps to reproduce
(I've been specifically developing with stream: true, so stream: false or background: true are untested)
Expected: Agent writes/reads/runs/deletes a hello-world script
Observed: Agent begins receiving 401 Unauthorized errors in response to basic internal tools (read_file, write_file, delete_file, code_execution) and is unable to perform any task, resorting to simple text-out behavior and describing what it would do if tools were working.
I hope this gets where it needs to go, if this is the right place and any extra information is needed, let me know!