Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

save_state

Method
This is a method of the Session class in the session module.
Save session state data to memory.

Signature

def save_state(state_data: Dict[str, Any]) -> None

Parameters

state_data
Dict
required
Dictionary of state data to save

Exceptions

If this is a remote session

Uses

  • ValueError
  • store_short_term

Used By

Source

View on GitHub

praisonaiagents/session.py at line 204