Timothy J. Baek 10 tháng trước cách đây
mục cha
commit
d6dbd73ec9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      backend/main.py

+ 1 - 1
backend/main.py

@@ -425,7 +425,7 @@ async def get_function_call_response(
                         # Call the function with the '__event_emitter__' parameter included
                         params = {
                             **params,
-                            "__event_emitter__": model,
+                            "__event_emitter__": __event_emitter__,
                         }
 
                     if inspect.iscoroutinefunction(function):