Skip to content

ExecResult

autogen.beta.tools.sandbox.base.ExecResult dataclass #

ExecResult(output, exit_code)

Outcome of a single :meth:Sandbox.exec call.

output carries the combined stdout + stderr (already trimmed by the backend, optionally truncated to max_output characters). exit_code follows POSIX conventions (0 = success, 124 = timeout, 127 = command not found).

output instance-attribute #

output

exit_code instance-attribute #

exit_code