📦 deps(thirdparty): update snapshots
This commit is contained in:
+1
-1
@@ -112,7 +112,7 @@ def search(query: str) -> str:
|
||||
@tool
|
||||
def calculator(expression: str) -> str:
|
||||
"""Evaluate a math expression."""
|
||||
return str(eval(expression))
|
||||
return str(safe_math_evaluator(expression))
|
||||
|
||||
tools = [search, calculator]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user