Skip to main content

get_history_size

Method
This is a method of the Agent class in the agent module.
Get the current number of messages in chat history.

Signature

def get_history_size() -> int

Returns

Returns
int
The result of the operation.