LocalMediaStorage stores agent media on the local filesystem and keeps only a MediaReference in the database. Intended for development and testing.
AsyncLocalMediaStorage takes the same parameters and runs each call in a worker thread.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
LocalMediaStorage stores agent media on the local filesystem.
LocalMediaStorage stores agent media on the local filesystem and keeps only a MediaReference in the database. Intended for development and testing.
| Parameter | Type | Default | Description |
|---|---|---|---|
base_path | str | "./media_storage" | Directory that holds the media. Resolved to an absolute path at construction, so a relative value does not follow the working directory. |
persist_remote_urls | bool | False | Download and store media passed as a URL. Skipped when False. |
AsyncLocalMediaStorage takes the same parameters and runs each call in a worker thread.Was this page helpful?