From 1989e0fd20a819f9ed5b9f0c3c1d3467ec3802c8 Mon Sep 17 00:00:00 2001 From: igeni Date: Fri, 22 Mar 2024 20:35:42 +0300 Subject: modified to avoid type's mismatch and make like rest of the code --- g4f/Provider/Bing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f/Provider') diff --git a/g4f/Provider/Bing.py b/g4f/Provider/Bing.py index f8b06dd1..aa1b37b0 100644 --- a/g4f/Provider/Bing.py +++ b/g4f/Provider/Bing.py @@ -462,7 +462,7 @@ async def stream_generate( response_txt = card.get('text') if message.get('messageType') and "inlines" in card: inline_txt = card['inlines'][0].get('text') - response_txt += inline_txt + '\n' + response_txt += f"{inline_txt}\n" elif message.get('contentType') == "IMAGE": prompt = message.get('text') try: -- cgit v1.2.3