| from langchain_core.tools import tool | |
| def sum_list(numbers: list[float]) -> float: | |
| """ | |
| Sums the provided input numbers. | |
| Args: | |
| numbers: The sequence of numbers to sum. | |
| Returns: | |
| The sum of the input numbers. | |
| """ | |
| return sum(numbers) | |
| from langchain_core.tools import tool | |
| def sum_list(numbers: list[float]) -> float: | |
| """ | |
| Sums the provided input numbers. | |
| Args: | |
| numbers: The sequence of numbers to sum. | |
| Returns: | |
| The sum of the input numbers. | |
| """ | |
| return sum(numbers) | |