Delete State • AI Agent SDK
delete_state: Delete a state key if it exists. Returns True if deleted, False if key didn't exist.
delete_state
Method
</div>
This is a method of the AgentTeam class in the agents module.
Delete a state key if it exists. Returns True if deleted, False if key didn’t exist.
Signature
def delete_state(key: str) -> boolParameters
ParamField
strNo description available.
Returns
ResponseField
boolThe result of the operation.
Source
View on GitHubpraisonaiagents/agents/agents.py at line 3147