Skip to main content

restore_session_state

Method
This is a method of the AgentTeam class in the agents module.
Restore team session state for deterministic resume. Returns True if restored. Reads first from the durable SessionStore keyed by session_id (no fuzzy search, no memory requirement). Falls back to the legacy shared_memory semantic lookup only for sessions written before this durable path existed, preserving backward compatibility.

Signature

Parameters

str
required
No description available.

Returns

bool
The result of the operation.

Uses

  • get_default_session_store
  • store.session_exists
  • store.get_session
  • logger.debug
  • search_short_term

Source

View on GitHub

praisonaiagents/agents/agents.py at line 2510

Session Management

Sessions Feature

Session Persistence