mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-12 12:37:14 +00:00
fix:return conv_uid and update wechat
This commit is contained in:
@@ -247,7 +247,7 @@ class Client:
|
||||
if response.status_code == 200:
|
||||
async for line in response.aiter_lines():
|
||||
try:
|
||||
if line == "data: [DONE]\n":
|
||||
if line.strip() == "data: [DONE]":
|
||||
break
|
||||
if line.startswith("data:"):
|
||||
json_data = json.loads(line[len("data: ") :])
|
||||
|
Reference in New Issue
Block a user