Spaces:
Runtime error
Runtime error
Optimiztation
Browse files
app.py
CHANGED
@@ -115,14 +115,7 @@ class CPUOptimizedGAIAAgent:
|
|
115 |
"num_beams": 1, # Disable beam search for speed
|
116 |
},
|
117 |
# Optimized system message for GAIA reasoning
|
118 |
-
|
119 |
-
|
120 |
-
1. ANALYZE the question type (factual, mathematical, reasoning)
|
121 |
-
2. CHOOSE the right tool (web_search for facts, math_calculator for numbers, fact_checker for verification)
|
122 |
-
3. REASON step-by-step with the tool results
|
123 |
-
4. PROVIDE a clear, specific answer
|
124 |
-
|
125 |
-
Use tools actively - don't guess when you can search or calculate!"""
|
126 |
)
|
127 |
|
128 |
def setup_enhanced_tools(self):
|
|
|
115 |
"num_beams": 1, # Disable beam search for speed
|
116 |
},
|
117 |
# Optimized system message for GAIA reasoning
|
118 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
)
|
120 |
|
121 |
def setup_enhanced_tools(self):
|