-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
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 participaterequest clarification[Status] The maintainer need clarification or more information from the author[Status] The maintainer need clarification or more information from the author
Description
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
| Code expects | API returns |
|---|---|
| stdout | msg_out |
| stderr | msg_err |
Result: CodeExecutionResult.stdout and stderr are always empty.
Bug 2: Input file field names
Location: agent_engine_sandbox_code_executor.py lines 113-119
| Code sends | API expects |
|---|---|
| contents | content |
| mimeType | mime_type |
Result: Input files are not readable in the sandbox, causing errors like pandas.errors.EmptyDataError: No columns to parse from file.
Environment
- google-adk version: 1.19.0
- Python version: 3.13
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 participaterequest clarification[Status] The maintainer need clarification or more information from the author[Status] The maintainer need clarification or more information from the author