Spaces:
Runtime error
Runtime error
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -199,8 +199,7 @@ def web_search(query: str) -> str:
|
|
| 199 |
return results
|
| 200 |
|
| 201 |
# === System Prompt definieren ===
|
| 202 |
-
system_prompt = SystemMessage(
|
| 203 |
-
system_prompt = SystemMessage(
|
| 204 |
content=(
|
| 205 |
"You are a focused, factual AI agent competing on the GAIA evaluation.\n"
|
| 206 |
"\n"
|
|
@@ -245,7 +244,6 @@ system_prompt = SystemMessage(content=(
|
|
| 245 |
"Do not add extra commentary.\n"
|
| 246 |
)
|
| 247 |
)
|
| 248 |
-
))
|
| 249 |
|
| 250 |
# === LLM definieren ===
|
| 251 |
llm = ChatGoogleGenerativeAI(
|
|
|
|
| 199 |
return results
|
| 200 |
|
| 201 |
# === System Prompt definieren ===
|
| 202 |
+
system_prompt = SystemMessage(
|
|
|
|
| 203 |
content=(
|
| 204 |
"You are a focused, factual AI agent competing on the GAIA evaluation.\n"
|
| 205 |
"\n"
|
|
|
|
| 244 |
"Do not add extra commentary.\n"
|
| 245 |
)
|
| 246 |
)
|
|
|
|
| 247 |
|
| 248 |
# === LLM definieren ===
|
| 249 |
llm = ChatGoogleGenerativeAI(
|