fix linting

This commit is contained in:
zrguo
2025-03-14 14:10:59 +08:00
parent fd70e55871
commit f5ab76dc4c

View File

@@ -123,7 +123,7 @@ async def openai_complete_if_cache(
async def inner():
try:
_content = ''
_content = ""
async for chunk in response:
content = chunk.choices[0].delta.content
if content is None: