Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,9 @@ from smolagents import CodeAgent, GoogleSearchTool, InferenceClientModel, VisitW
|
|
9 |
# --- Constants ---
|
10 |
os.environ["SERPER_API_KEY"] = "3814ecb904f7401e22386b7b7ee3a6f913741c5"
|
11 |
hf_token = os.environ.get("Hugging_Face_API_Token")
|
|
|
12 |
DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
|
|
13 |
SYSTEM_PROMPT = """
|
14 |
You are a helpful, tool-using AI assistant.
|
15 |
You are required to solve real-world questions using search and reasoning.
|
|
|
9 |
# --- Constants ---
|
10 |
os.environ["SERPER_API_KEY"] = "3814ecb904f7401e22386b7b7ee3a6f913741c5"
|
11 |
hf_token = os.environ.get("Hugging_Face_API_Token")
|
12 |
+
together_key = os.environ.get("TOGETHER_API_KEY")
|
13 |
DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
14 |
+
os.environ["TOGETHER_API_KEY"] = together_key
|
15 |
SYSTEM_PROMPT = """
|
16 |
You are a helpful, tool-using AI assistant.
|
17 |
You are required to solve real-world questions using search and reasoning.
|