File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 3232
3333logger = get_logger (__name__ )
3434
35- DEFAULT_LOCAL_DATABASE_PATH = "/tmp/veadk_local_database.db"
36-
3735
3836def wrap_get_session_with_callbacks (obj , callback_fn : Callable ):
3937 get_session_fn = getattr (obj , "get_session" )
@@ -57,8 +55,8 @@ class ShortTermMemory(BaseModel):
5755 db_url : str = ""
5856 """Database connection URL, e.g. `sqlite:///./test.db`. Once set, it will override the `backend` parameter."""
5957
60- local_database_path : str = DEFAULT_LOCAL_DATABASE_PATH
61- """Local database path, only used when `backend` is `sqlite`."""
58+ local_database_path : str = "/tmp/veadk_local_database.db"
59+ """Local database path, only used when `backend` is `sqlite`. Default to `/tmp/veadk_local_database.db`. """
6260
6361 after_load_memory_callback : Callable | None = None
6462 """A callback to be called after loading memory from the backend. The callback function should accept `Session` as an input."""
You can’t perform that action at this time.
0 commit comments