try few things
This commit is contained in:
parent
31b508554e
commit
23051b7ddd
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,6 @@ logging.basicConfig(level=logging.DEBUG)
|
||||||
class InfrastructureConfig():
|
class InfrastructureConfig():
|
||||||
config = Config()
|
config = Config()
|
||||||
config.load()
|
config.load()
|
||||||
logging.info("cf path: %s", config.db_path)
|
|
||||||
system_root_directory: str = config.system_root_directory
|
system_root_directory: str = config.system_root_directory
|
||||||
data_root_directory: str = config.data_root_directory
|
data_root_directory: str = config.data_root_directory
|
||||||
llm_provider: str = config.llm_provider
|
llm_provider: str = config.llm_provider
|
||||||
|
|
@ -54,6 +53,7 @@ class InfrastructureConfig():
|
||||||
|
|
||||||
db_path = os.path.join(self.system_root_directory,config.db_path)
|
db_path = os.path.join(self.system_root_directory,config.db_path)
|
||||||
logging.debug("db_path cfg: %s", db_path)
|
logging.debug("db_path cfg: %s", db_path)
|
||||||
|
logging.debug("db_name cfg: %s", config.db_name)
|
||||||
|
|
||||||
|
|
||||||
LocalStorage.ensure_directory_exists(db_path)
|
LocalStorage.ensure_directory_exists(db_path)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue