Set State • AI Agent SDK
set_state: Set a specific state value
set_state
Method
</div>
This is a method of the Session class in the session module.
Set a specific state value
Signature
def set_state(key: str, value: Any) -> NoneParameters
ParamField
strNo description available.
ParamField
AnyNo description available.
Uses
restore_statesave_state
Used By
Source
View on GitHubpraisonaiagents/session.py at line 361