-
Notifications
You must be signed in to change notification settings - Fork 256
Open
Description
Anyone facing this issue?
error trace for reference
Exception ignored in: <coroutine object ChatOpenAI._agenerate at 0x12e499340>
Traceback (most recent call last):
File "/path_to_your_env/lib/python3.11/site-packages/langchain/chat_models/openai.py", line 318, in _agenerate
response = await acompletion_with_retry(
File "/path_to_your_env/lib/python3.11/site-packages/langchain/chat_models/openai.py", line 63, in acompletion_with_retry
return await _completion_with_retry(**kwargs)
File "/path_to_your_env/lib/python3.11/site-packages/tenacity/_asyncio.py", line 88, in async_wrapped
return await fn(*args, **kwargs)
File "/path_to_your_env/lib/python3.11/site-packages/tenacity/_asyncio.py", line 47, in __call__
do = self.iter(retry_state=retry_state)
File "/path_to_your_env/lib/python3.11/site-packages/tenacity/__init__.py", line 314, in iter
return fut.result()
File "/path_to_python_installation/lib/python3.11/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
File "/path_to_python_installation/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/path_to_your_env/lib/python3.11/site-packages/tenacity/_asyncio.py", line 50, in __call__
result = await fn(*args, **kwargs)
File "/path_to_your_env/lib/python3.11/site-packages/langchain/chat_models/openai.py", line 61, in _completion_with_retry
return await llm.client.acreate(**kwargs)
File "/path_to_your_env/lib/python3.11/site-packages/openai/api_resources/chat_completion.py", line 45, in acreate
return await super().acreate(*args, **kwargs)
File "/path_to_your_env/lib/python3.11/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 217, in acreate
response, _, api_key = await requestor.arequest(
RuntimeError: coroutine ignored GeneratorExit
Metadata
Metadata
Assignees
Labels
No labels