feat:修复BUG
This commit is contained in:
@@ -112,6 +112,7 @@ class LLMService:
|
||||
"stream": True,
|
||||
},
|
||||
) as response:
|
||||
response.raise_for_status()
|
||||
async for line in response.aiter_lines():
|
||||
if line.startswith("data: "):
|
||||
data = line[6:]
|
||||
|
||||
Reference in New Issue
Block a user