Chat History • AI Agent SDK

chat_history: Set chat history (updates the underlying async-safe state with lock).

chat_history

Method

</div>

This is a method of the Agent class in the agent module.

Set chat history (updates the underlying async-safe state with lock).

Signature

python
def chat_history(value: Any) -> Any

Parameters

ParamField Any

No description available.

Returns

ResponseField Any

The result of the operation.

Uses

  • lock

Source

View on GitHub

praisonaiagents/agent/agent.py at line 3545


Related Documentation