mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-09-12 08:29:30 -04:00
Fix issue #1537, copy options sets
This commit is contained in:
parent
5627cd913e
commit
d6b3d0f240
@ -189,7 +189,7 @@ def create_message(
|
|||||||
:param gpt4_turbo: Flag to enable GPT-4 Turbo.
|
:param gpt4_turbo: Flag to enable GPT-4 Turbo.
|
||||||
:return: A formatted string message for the Bing API.
|
:return: A formatted string message for the Bing API.
|
||||||
"""
|
"""
|
||||||
options_sets = Defaults.optionsSets
|
options_sets = Defaults.optionsSets.copy()
|
||||||
# Append tone-specific options
|
# Append tone-specific options
|
||||||
if tone == Tones.creative:
|
if tone == Tones.creative:
|
||||||
options_sets.extend(ConversationStyleOptionSets.CREATIVE)
|
options_sets.extend(ConversationStyleOptionSets.CREATIVE)
|
||||||
|
Loading…
Reference in New Issue
Block a user