append_to_state
Method
This is a method of the AgentTeam class in the agents module.Append a value to a list state. Creates the list if it doesn’t exist.
Signature
Parameters
State key
Value to append
Optional maximum length for the list
Returns
The updated list
Exceptions
TypeError
TypeError
If the existing value is not a list and convert_to_list=False
Source
View on GitHub
praisonaiagents/agents/agents.py at line 1446
