Update agents/tools/ai_tools.py
Browse files- agents/tools/ai_tools.py +1 -1
agents/tools/ai_tools.py
CHANGED
|
@@ -535,7 +535,7 @@ class AITools():
|
|
| 535 |
)
|
| 536 |
)
|
| 537 |
|
| 538 |
-
result = response.text
|
| 539 |
print(f"🛠️ AITools: final_answer_tool: result={result}")
|
| 540 |
return result
|
| 541 |
except Exception as e:
|
|
|
|
| 535 |
)
|
| 536 |
)
|
| 537 |
|
| 538 |
+
result = response.text.strip()
|
| 539 |
print(f"🛠️ AITools: final_answer_tool: result={result}")
|
| 540 |
return result
|
| 541 |
except Exception as e:
|