summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorigeni <kublin@it8.ru>2024-03-22 18:35:42 +0100
committerigeni <kublin@it8.ru>2024-03-22 18:35:42 +0100
commit1989e0fd20a819f9ed5b9f0c3c1d3467ec3802c8 (patch)
treec00fcbbf9ecaa1a217a1fdd4fdc9b895d1c92775
parentMerge pull request #1740 from eienmojiki206/patch-1 (diff)
downloadgpt4free-1989e0fd20a819f9ed5b9f0c3c1d3467ec3802c8.tar
gpt4free-1989e0fd20a819f9ed5b9f0c3c1d3467ec3802c8.tar.gz
gpt4free-1989e0fd20a819f9ed5b9f0c3c1d3467ec3802c8.tar.bz2
gpt4free-1989e0fd20a819f9ed5b9f0c3c1d3467ec3802c8.tar.lz
gpt4free-1989e0fd20a819f9ed5b9f0c3c1d3467ec3802c8.tar.xz
gpt4free-1989e0fd20a819f9ed5b9f0c3c1d3467ec3802c8.tar.zst
gpt4free-1989e0fd20a819f9ed5b9f0c3c1d3467ec3802c8.zip
-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: