sid385 commited on
Commit
2878879
·
verified ·
1 Parent(s): 8579f34

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,7 +10,7 @@ from langchain_core.runnables import Runnable
10
  from langchain_core.agents import AgentFinish
11
  from langchain.agents import create_react_agent
12
  from langchain.agents.agent import RunnableAgent
13
- from langchain.agents.tools import Tool
14
  from langchain_core.messages import HumanMessage
15
  from langchain_google_genai import ChatGoogleGenerativeAI
16
 
@@ -19,7 +19,7 @@ from langchain_google_genai import ChatGoogleGenerativeAI
19
  # --- Constants ---
20
  DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
21
 
22
- OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
23
 
24
 
25
  # --- Basic Agent Definition ---
 
10
  from langchain_core.agents import AgentFinish
11
  from langchain.agents import create_react_agent
12
  from langchain.agents.agent import RunnableAgent
13
+ from langchain.tools import Tool
14
  from langchain_core.messages import HumanMessage
15
  from langchain_google_genai import ChatGoogleGenerativeAI
16
 
 
19
  # --- Constants ---
20
  DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
21
 
22
+ GOOGLE_API_KEY = os.getenv("GOOGLE_API_KEY")
23
 
24
 
25
  # --- Basic Agent Definition ---