diff --git a/model_server/src/core/function_calling.py b/model_server/src/core/function_calling.py index f7bb8611..194d9175 100644 --- a/model_server/src/core/function_calling.py +++ b/model_server/src/core/function_calling.py @@ -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)