feat: isolate test config from main config (#1063)
Co-authored-by: Charles Packer <packercharles@gmail.com>
This commit is contained in:
7
tests/config.py
Normal file
7
tests/config.py
Normal file
@@ -0,0 +1,7 @@
|
||||
import os
|
||||
from memgpt.config import MemGPTConfig
|
||||
from memgpt.constants import MEMGPT_DIR
|
||||
|
||||
|
||||
class TestMGPTConfig(MemGPTConfig):
|
||||
config_path: str = os.getenv("TEST_MEMGPT_CONFIG_PATH") or os.getenv("MEMGPT_CONFIG_PATH") or os.path.join(MEMGPT_DIR, "config")
|
||||
Reference in New Issue
Block a user