sid385 commited on
Commit
d8680d8
·
verified ·
1 Parent(s): 95f8f36

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -27,8 +27,8 @@ GOOGLE_API_KEY = os.getenv("GOOGLE_API_KEY")
27
  class BasicAgent:
28
  def __init__(self):
29
  print("LangGraph ReAct Agent initialized.")
30
- if not OPENAI_API_KEY:
31
- raise ValueError("OPENAI_API_KEY environment variable not found.")
32
 
33
  self.llm = ChatGoogleGenerativeAI(model="gemini-2.0-flash")
34
 
 
27
  class BasicAgent:
28
  def __init__(self):
29
  print("LangGraph ReAct Agent initialized.")
30
+ if not GOOGLE_API_KEY:
31
+ raise ValueError("GOOGLE_API_KEY environment variable not found.")
32
 
33
  self.llm = ChatGoogleGenerativeAI(model="gemini-2.0-flash")
34