This commit is contained in:
cotran 2024-12-11 16:11:51 -08:00
parent 7c73936351
commit d276c54961

View file

@ -356,7 +356,7 @@ class ArchFunctionHandler(ArchBaseHandler):
return {"result": tool_calls, "status": is_valid, "message": error_message}
def _correcting_type(value, target_type):
def _correcting_type(self, value, target_type):
try:
if target_type == float and isinstance(value, int):
return float(value)