Skip to main content

chat

AsyncMethod
This is a method of the Agent class in the agent module.
Chat with the agent (main entry point) This is the primary method for interacting with an agent. It handles the full conversation loop including tool calls.

Signature

async def chat(&self, prompt: &str) -> Result<String>

Parameters

prompt
&str
required
No description available.

Returns

Returns
Result<String>
The result of the operation.