diff --git a/agentverse/llms/openai.py b/agentverse/llms/openai.py index 881ec3f7..b4d529ab 100644 --- a/agentverse/llms/openai.py +++ b/agentverse/llms/openai.py @@ -209,7 +209,7 @@ def send_token_limit(self, model: str) -> int: # exception_types=(OpenAIError, json.decoder.JSONDecodeError, Exception) # ), # ) - def generate_response( + async def generate_response( self, prepend_prompt: str = "", history: List[dict] = [],