mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-04-28 19:51:11 +00:00
Memory layers - in progress
This commit is contained in:
parent
1d54577237
commit
e4d0536495
43 changed files with 1469 additions and 695 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import os, re, sys
|
||||
import os, re
|
||||
|
||||
def read_file(relative_path, **kwargs):
|
||||
absolute_path = get_abs_path(relative_path) # Construct the absolute path to the target file
|
||||
|
|
@ -30,4 +30,5 @@ def exists(*relative_paths):
|
|||
def get_base_dir():
|
||||
# Get the base directory from the current file path
|
||||
base_dir = os.path.dirname(os.path.abspath(os.path.join(__file__,"../../")))
|
||||
return base_dir
|
||||
return base_dir
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue