mega commit

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-08-20 20:47:17 +02:00
parent 4860179a1c
commit a578dd26a0
13 changed files with 608 additions and 305 deletions

View File

@@ -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}"