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
Returns
The result of the operation.
Source
View on GitHub
praisonaiagents/agent/agent.py at line 4273get_history_size: Get the current number of messages in chat history.
This is a method of the Agent class in the agent module.Get the current number of messages in chat history.
def get_history_size() -> int
praisonaiagents/agent/agent.py at line 4273