From d6b3d0f2407e7bfb5bf3d5d3bf8b9b7f3bb60b77 Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Thu, 1 Feb 2024 23:07:35 +0100 Subject: Fix issue #1537, copy options sets --- g4f/Provider/Bing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3