achat • AI Agent SDK
achat: Asynchronous chat with the agent.
achat
Async
Method
</div>
This is a method of the AgentProtocol class in the protocols module.
Asynchronous chat with the agent.
Signature
async def achat(prompt: str) -> strParameters
ParamField
strThe user prompt or message **kwargs: Additional optional parameters (temperature, tools, etc.)
Returns
ResponseField
strThe agent’s response as a string
Used By
Agent.run_autonomous_asyncTypedHandoff.execute_asyncAgentApproval.request_approvalLLMRuntimeWrapper.aexecute
Source
View on GitHubpraisonaiagents/agent/protocols.py at line 80