refactor: update configuration handling and OpenAI client initialization
This commit is contained in:
@@ -15,7 +15,7 @@ if not os.path.exists(CONFIG_DIR):
|
||||
os.makedirs(CONFIG_DIR)
|
||||
|
||||
|
||||
settings = Config("config/config.yaml")
|
||||
settings = Config(f"{CONFIG_DIR}/config.yaml")
|
||||
if not os.path.exists(settings.database.temp.expanduser()):
|
||||
settings.database.temp.expanduser().mkdir(parents=True, exist_ok=True)
|
||||
from .utils.icon import Icon
|
||||
|
||||
Reference in New Issue
Block a user