diff options
author | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-03-16 20:02:15 +0100 |
---|---|---|
committer | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-03-16 20:02:15 +0100 |
commit | f797ec828ce3b5965796b437878e14b6eec6235b (patch) | |
tree | cc39a3df291ad30f55df34f52d31d73afcd9a827 /g4f/Provider/Bing.py | |
parent | Merge pull request #1691 from hlohaus/retry (diff) | |
download | gpt4free-f797ec828ce3b5965796b437878e14b6eec6235b.tar gpt4free-f797ec828ce3b5965796b437878e14b6eec6235b.tar.gz gpt4free-f797ec828ce3b5965796b437878e14b6eec6235b.tar.bz2 gpt4free-f797ec828ce3b5965796b437878e14b6eec6235b.tar.lz gpt4free-f797ec828ce3b5965796b437878e14b6eec6235b.tar.xz gpt4free-f797ec828ce3b5965796b437878e14b6eec6235b.tar.zst gpt4free-f797ec828ce3b5965796b437878e14b6eec6235b.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 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"], |