chat • Rust AI Agent SDK

chat: Chat with the LLM

chat

Async

Method

</div>

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

Chat with the LLM

Signature

python
async def chat(&self, messages: &[LlmMessage]) -> Result<LlmResponse>

Parameters

ParamField &[LlmMessage]

No description available.

Returns

PreviousNext