Timothy J. Baek 10 months ago
parent
commit
d6dbd73ec9
1 changed files with 1 additions and 1 deletions
  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
                         # Call the function with the '__event_emitter__' parameter included
                         params = {
                         params = {
                             **params,
                             **params,
-                            "__event_emitter__": model,
+                            "__event_emitter__": __event_emitter__,
                         }
                         }
 
 
                     if inspect.iscoroutinefunction(function):
                     if inspect.iscoroutinefunction(function):