Skip to content

Commit 6d54474

Browse files
author
yashksaini-coder
committed
fix: correct environment variable name for GROQ API key
1 parent b6d18e8 commit 6d54474

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

agents.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
from agno.tools.duckduckgo import DuckDuckGoTools
1010
from agno.agent import Agent, RunResponse
1111

12-
load_dotenv(dotenv_path=".env")
13-
GROQ_API_KEY = os.getenv("api_key")
14-
12+
GROQ_API_KEY = os.getenv("GROQ_API_KEY")
1513
groq_client = groq.Client(api_key=GROQ_API_KEY)
1614

1715
if not GROQ_API_KEY:

0 commit comments

Comments
 (0)