new • Rust AI Agent SDK

new: Create a new code execution step

new

Method

</div>

This is a method of the CodeExecutionStep class in the extras module.

Create a new code execution step

Signature

python
def new(input_code: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.