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

Returns

int
The result of the operation.

Source

View on GitHub

praisonaiagents/agent/agent.py at line 4273