Update utils/llm_ag.py
Browse files- utils/llm_ag.py +1 -1
utils/llm_ag.py
CHANGED
@@ -5,7 +5,7 @@ from dotenv import load_dotenv
|
|
5 |
load_dotenv()
|
6 |
|
7 |
# Get the API key from environment variable
|
8 |
-
GROQ_API_KEY = "
|
9 |
if not GROQ_API_KEY:
|
10 |
raise ValueError("GROQ_API_KEY is not set in the .env file")
|
11 |
|
|
|
5 |
load_dotenv()
|
6 |
|
7 |
# Get the API key from environment variable
|
8 |
+
GROQ_API_KEY = os.getenv("GROQ_API_KEY")
|
9 |
if not GROQ_API_KEY:
|
10 |
raise ValueError("GROQ_API_KEY is not set in the .env file")
|
11 |
|