diff options
author | H Lohaus <hlohaus@users.noreply.github.com> | 2024-03-23 11:44:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-23 11:44:00 +0100 |
commit | bf82352a3bb28f78a6602be5a4343085f8b44100 (patch) | |
tree | c00fcbbf9ecaa1a217a1fdd4fdc9b895d1c92775 /g4f/Provider/Bing.py | |
parent | Merge pull request #1740 from eienmojiki206/patch-1 (diff) | |
parent | modified to avoid type's mismatch and make like rest of the code (diff) | |
download | gpt4free-bf82352a3bb28f78a6602be5a4343085f8b44100.tar gpt4free-bf82352a3bb28f78a6602be5a4343085f8b44100.tar.gz gpt4free-bf82352a3bb28f78a6602be5a4343085f8b44100.tar.bz2 gpt4free-bf82352a3bb28f78a6602be5a4343085f8b44100.tar.lz gpt4free-bf82352a3bb28f78a6602be5a4343085f8b44100.tar.xz gpt4free-bf82352a3bb28f78a6602be5a4343085f8b44100.tar.zst gpt4free-bf82352a3bb28f78a6602be5a4343085f8b44100.zip |
Diffstat (limited to 'g4f/Provider/Bing.py')
-rw-r--r-- | g4f/Provider/Bing.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |