mega commit
This commit is contained in:
@@ -6,14 +6,14 @@ from typing import Union
|
||||
|
||||
@tool
|
||||
def add(a: float, b: float) -> str:
|
||||
"""Adds a+b and retuns the sum"""
|
||||
"""Adds a+b and returns the sum"""
|
||||
af = float(a)
|
||||
bf = float(b)
|
||||
return f"{a} + {b} = {a+b}"
|
||||
|
||||
@tool
|
||||
def multiply(a: float, b: float) -> str:
|
||||
"""Multiplies a*b and retuns the product"""
|
||||
"""Multiplies a*b and returns the product"""
|
||||
af = float(a)
|
||||
bf = float(b)
|
||||
return f"{a} * {b} = {a*b}"
|
||||
|
||||
Reference in New Issue
Block a user