-
Notifications
You must be signed in to change notification settings - Fork 3.3k
AgentEngineSandboxCodeExecutor uses wrong JSON field names for stdout/stderr #3690
Copy link
Copy link
Labels
agent engine[Component] This issue is related to Vertex AI Agent Engine[Component] This issue is related to Vertex AI Agent Enginegood first issue[Community] This issue is good for newcomers to participate[Community] This issue is good for newcomers to participateneeds review[Status] The PR/issue is awaiting review from the maintainer[Status] The PR/issue is awaiting review from the maintainerrequest clarification[Status] The maintainer need clarification or more information from the author[Status] The maintainer need clarification or more information from the author
Metadata
Metadata
Assignees
Labels
agent engine[Component] This issue is related to Vertex AI Agent Engine[Component] This issue is related to Vertex AI Agent Enginegood first issue[Community] This issue is good for newcomers to participate[Community] This issue is good for newcomers to participateneeds review[Status] The PR/issue is awaiting review from the maintainer[Status] The PR/issue is awaiting review from the maintainerrequest clarification[Status] The maintainer need clarification or more information from the author[Status] The maintainer need clarification or more information from the author
Description
The AgentEngineSandboxCodeExecutor class has two field name mismatches that cause it to fail silently:
Bug 1: stdout/stderr field names
Location: agent_engine_sandbox_code_executor.py lines 138-140
Result: CodeExecutionResult.stdout and stderr are always empty.
Bug 2: Input file field names
Location: agent_engine_sandbox_code_executor.py lines 113-119
Result: Input files are not readable in the sandbox, causing errors like pandas.errors.EmptyDataError: No columns to parse from file.
Environment