Commit 2f03c9a
committed
fix: use correct 'content' key in AgentEngineSandboxCodeExecutor input files
The AgentEngineSandboxCodeExecutor builds input file payloads with key 'contents' (plural), but the Vertex AI SDK reads 'content' (singular). This causes file.get('content', b'') to always return empty bytes — all input files are silently created as zero bytes in the sandbox with SUCCESS status returned.
Fixes the same root cause as PR #5505 which fixed this in other files but missed agent_engine_sandbox_code_executor.py.
Ref: #5500, #5505, #58241 parent 4006fe4 commit 2f03c9a
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| |||
0 commit comments