Fix issue #1537, copy options sets

This commit is contained in:
Heiner Lohaus 2024-02-01 23:07:35 +01:00
parent 5627cd913e
commit d6b3d0f240

View File

@ -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)