Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

AgentEngineSandboxCodeExecutor uses wrong JSON field names for stdout/stderr #3690

Copy link
Copy link
@guanerdan

Description

@guanerdan
Issue body actions

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
Reactions are currently unavailable

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

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.