diff --git a/langfuse/openai.py b/langfuse/openai.py index d780e0de..7ab464d1 100644 --- a/langfuse/openai.py +++ b/langfuse/openai.py @@ -977,3 +977,10 @@ async def close(self) -> None: Automatically called if the response body is read to completion. """ await self.response.close() + + async def aclose(self) -> None: + """Close the response and release the connection. + + Automatically called if the response body is read to completion. + """ + await self.response.aclose()