summaryrefslogtreecommitdiffstats
path: root/g4f/Provider
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-02-01 23:07:35 +0100
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-02-01 23:07:35 +0100
commitd6b3d0f2407e7bfb5bf3d5d3bf8b9b7f3bb60b77 (patch)
tree52ef40ab6283424455e94accb3c873e10b88cb00 /g4f/Provider
parentUpdate setup.py (diff)
downloadgpt4free-d6b3d0f2407e7bfb5bf3d5d3bf8b9b7f3bb60b77.tar
gpt4free-d6b3d0f2407e7bfb5bf3d5d3bf8b9b7f3bb60b77.tar.gz
gpt4free-d6b3d0f2407e7bfb5bf3d5d3bf8b9b7f3bb60b77.tar.bz2
gpt4free-d6b3d0f2407e7bfb5bf3d5d3bf8b9b7f3bb60b77.tar.lz
gpt4free-d6b3d0f2407e7bfb5bf3d5d3bf8b9b7f3bb60b77.tar.xz
gpt4free-d6b3d0f2407e7bfb5bf3d5d3bf8b9b7f3bb60b77.tar.zst
gpt4free-d6b3d0f2407e7bfb5bf3d5d3bf8b9b7f3bb60b77.zip
Diffstat (limited to 'g4f/Provider')
-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 40a42bf5..b3852e4e 100644
--- a/g4f/Provider/Bing.py
+++ b/g4f/Provider/Bing.py
@@ -189,7 +189,7 @@ def create_message(
:param gpt4_turbo: Flag to enable GPT-4 Turbo.
:return: A formatted string message for the Bing API.
"""
- options_sets = Defaults.optionsSets
+ options_sets = Defaults.optionsSets.copy()
# Append tone-specific options
if tone == Tones.creative:
options_sets.extend(ConversationStyleOptionSets.CREATIVE)