summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/Bing.py
diff options
context:
space:
mode:
Diffstat (limited to 'g4f/Provider/Bing.py')
-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: