Update app.py
Browse files
app.py
CHANGED
|
@@ -11,12 +11,15 @@ model = HfApiModel(model_id="meta-llama/Llama-3.1-70B-Instruct", token=token)
|
|
| 11 |
|
| 12 |
class AlfredAgent:
|
| 13 |
def __init__(self):
|
| 14 |
-
#
|
| 15 |
CUSTOM_SYSTEM_PROMPT = """You are a world-class GAIA solver.
|
| 16 |
|
| 17 |
Available tools:
|
| 18 |
{{managed_agents_descriptions}}
|
| 19 |
|
|
|
|
|
|
|
|
|
|
| 20 |
1. Use web_search for facts.
|
| 21 |
2. Use visit_webpage for specific URLs or deep reading.
|
| 22 |
3. Your final output must be ONLY the result (e.g., '15', 'Paris'). No explanations."""
|
|
|
|
| 11 |
|
| 12 |
class AlfredAgent:
|
| 13 |
def __init__(self):
|
| 14 |
+
# Yeni kurallar gereği {{managed_agents_descriptions}} ve {{authorized_imports}} ekliyoruz
|
| 15 |
CUSTOM_SYSTEM_PROMPT = """You are a world-class GAIA solver.
|
| 16 |
|
| 17 |
Available tools:
|
| 18 |
{{managed_agents_descriptions}}
|
| 19 |
|
| 20 |
+
Authorized Python imports:
|
| 21 |
+
{{authorized_imports}}
|
| 22 |
+
|
| 23 |
1. Use web_search for facts.
|
| 24 |
2. Use visit_webpage for specific URLs or deep reading.
|
| 25 |
3. Your final output must be ONLY the result (e.g., '15', 'Paris'). No explanations."""
|