Update Bing.py

This commit is contained in:
H Lohaus 2024-03-13 15:03:33 +01:00 committed by GitHub
parent a29b3db46d
commit 9be4b47991
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -380,7 +380,6 @@ async def stream_generate(
response = json.loads(obj)
if response and response.get('type') == 1 and response['arguments'][0].get('messages'):
message = response['arguments'][0]['messages'][0]
print(message)
if message_id is not None and message_id != message["messageId"]:
returned_text = ''
message_id = message["messageId"]