run • Rust AI Agent SDK

run: Run the agent with a prompt (alias for chat in most cases)

run

Method

</div>

This is a method of the RunnableAgentProtocol class in the protocols module.

Run the agent with a prompt (alias for chat in most cases)

Signature

python
def run(&self, prompt: &str) -> Result<String>

Parameters

ParamField &str

No description available.

Returns

PreviousNext