This commit is contained in:
Yasir Aris M 2024-08-13 21:43:28 +07:00 committed by GitHub
parent 035a6ebfd7
commit d70a812114
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -83,7 +83,6 @@ async def openai_chatbot(self, ctx: Message, strings):
temperature=0.7,
stream=True,
)
self.log.info
async for chunk in response:
if not chunk.choices or not chunk.choices[0].delta.content:
continue