NEXAS commited on
Commit
2b1d8e8
·
verified ·
1 Parent(s): 3b2c221

Update utils/llm_ag.py

Browse files
Files changed (1) hide show
  1. 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 = "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"
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