mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
472 B
472 B
Persisting Session Data
Using the standard Development Workflow, the session data is stored in memory. Currently, if OpenHands' service is restarted, previous sessions become invalid (a new secret is generated) and thus not recoverable.
How to Persist Session Data
Development Workflow
In the config.toml file, specify the following:
[core]
...
file_store="local"
file_store_path="/absolute/path/to/openhands/cache/directory"
jwt_secret="secretpass"