Chat History • AI Agent SDK
chat_history: Set chat history (updates the underlying async-safe state with lock).
chat_history
Method
</div>
Set chat history (updates the underlying async-safe state with lock).
Signature
def chat_history(value: Any) -> AnyParameters
ParamField
AnyNo description available.
Returns
ResponseField
AnyThe result of the operation.
Uses
lock
Source
View on GitHubpraisonaiagents/agent/agent.py at line 3545