We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d46fddf commit 5940ed3Copy full SHA for 5940ed3
libs/community/langchain_community/chat_models/deepinfra.py
@@ -290,7 +290,7 @@ async def _completion_with_retry(**kwargs: Any) -> Any:
290
async with request.apost(
291
url=self._url(), data=self._body(kwargs), timeout=request_timeout
292
) as response:
293
- self._handle_status(response.status, response.text)
+ self._handle_status(response.status, await response.text())
294
return await response.json()
295
except Exception as e:
296
print("EX", e) # noqa: T201
0 commit comments