summaryrefslogtreecommitdiffstats
path: root/g4f
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-03-23 11:44:00 +0100
committerGitHub <noreply@github.com>2024-03-23 11:44:00 +0100
commitbf82352a3bb28f78a6602be5a4343085f8b44100 (patch)
treec00fcbbf9ecaa1a217a1fdd4fdc9b895d1c92775 /g4f
parentMerge pull request #1740 from eienmojiki206/patch-1 (diff)
parentmodified to avoid type's mismatch and make like rest of the code (diff)
downloadgpt4free-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 '')
-rw-r--r--g4f/Provider/Bing.py2
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: