Documentation Index
Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
Use this file to discover all available pages before exploring further.
CodeExecutionStep
Defined in the extras module.
Rust AI Agent SDK
Represents a code execution step during research
Fields
| Name | Type | Description |
|---|
input_code | String | The input code |
output | Option<String> | The output (if any) |
Methods
new
fn new(input_code: impl Into<String>) -> Self
Create a new code execution step
Parameters:
| Name | Type |
|---|
input_code | impl Into<String> |
with_output
fn with_output(input_code: impl Into<String>, output: impl Into<String>) -> Self
Create with output
Parameters:
| Name | Type |
|---|
input_code | impl Into<String> |
output | impl Into<String> |
Source
View on GitHub
praisonai/src/parity/extras.rs at line 92