Merge branch 'shuguang/main' into salmanap/meetup-agent-demo

This commit is contained in:
Adil Hafeez 2024-12-11 16:19:32 -08:00
commit 377f06b6ca

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)