summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/Bing.py
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-03-16 20:05:35 +0100
committerGitHub <noreply@github.com>2024-03-16 20:05:35 +0100
commit930ff2b888ebb5a241d415c1a88fc688b60da980 (patch)
treecc39a3df291ad30f55df34f52d31d73afcd9a827 /g4f/Provider/Bing.py
parentMerge pull request #1691 from hlohaus/retry (diff)
parentFix GigaChat exceptions, Raise missing browser error (diff)
downloadgpt4free-930ff2b888ebb5a241d415c1a88fc688b60da980.tar
gpt4free-930ff2b888ebb5a241d415c1a88fc688b60da980.tar.gz
gpt4free-930ff2b888ebb5a241d415c1a88fc688b60da980.tar.bz2
gpt4free-930ff2b888ebb5a241d415c1a88fc688b60da980.tar.lz
gpt4free-930ff2b888ebb5a241d415c1a88fc688b60da980.tar.xz
gpt4free-930ff2b888ebb5a241d415c1a88fc688b60da980.tar.zst
gpt4free-930ff2b888ebb5a241d415c1a88fc688b60da980.zip
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 69c32775..7ff4d74b 100644
--- a/g4f/Provider/Bing.py
+++ b/g4f/Provider/Bing.py
@@ -311,7 +311,7 @@ def create_message(
"allowedMessageTypes": Defaults.allowedMessageTypes,
"sliceIds": Defaults.sliceIds[tone],
"verbosity": "verbose",
- "scenario": "CopilotMicrosoftCom", # "SERP",
+ "scenario": "CopilotMicrosoftCom" if tone == "copilot" else "SERP",
"plugins": [{"id": "c310c353-b9f0-4d76-ab0d-1dd5e979cf68", "category": 1}] if web_search else [],
"traceId": get_random_hex(40),
"conversationHistoryOptionsSets": ["autosave","savemem","uprofupd","uprofgen"],