Skip to main content

achat

AsyncMethod
This is a method of the Agent class in the agent module.
Async version of chat method with self-reflection support.

Signature

async def achat(prompt: str, temperature: Any, tools: Any, output_json: Any, output_pydantic: Any, reasoning_steps: Any, task_name: Any, task_description: Any, task_id: Any, attachments: Any) -> Any

Parameters

prompt
str
required
Text query that WILL be stored in chat_history
temperature
Any
default:"1.0"
No description available.
tools
Any
No description available.
output_json
Any
No description available.
output_pydantic
Any
No description available.
reasoning_steps
Any
default:"False"
No description available.
task_name
Any
No description available.
task_description
Any
No description available.
task_id
Any
No description available.
attachments
Any
Optional list of image/file paths that are ephemeral (used for THIS turn only, NEVER stored in history).

Returns

Returns
Any
The result of the operation.