Get State • Rust AI Agent SDK
get_state: Get session state.
get_state
Method
</div>
This is a method of the GatewaySessionProtocol class in the gateway module.
Get session state.
Signature
def get_state(&self) -> HashMap<String, serde_json::Value>get_state: Get session state.
Method
</div>
This is a method of the GatewaySessionProtocol class in the gateway module.
Get session state.
def get_state(&self) -> HashMap<String, serde_json::Value>