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