From 1db9e499ce81af179cdc46aac7807e04314b54a8 Mon Sep 17 00:00:00 2001 From: ryansurf Date: Wed, 29 May 2024 17:02:21 -0700 Subject: [PATCH] pytest failing, import error fix --- src/cli.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/cli.py b/src/cli.py index 9bada43..f083d15 100644 --- a/src/cli.py +++ b/src/cli.py @@ -7,12 +7,11 @@ sys.path.append(str(Path(__file__).parent.parent)) -from src import api, helper +from src import api, helper, settings -from settings import GPTSettings # Load environment variables from .env file -env = GPTSettings() +env = settings.GPTSettings() gpt_prompt = env.GPT_PROMPT