diff options
Diffstat (limited to '')
-rw-r--r-- | g4f/Provider/nexra/NexraChatGPT.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/g4f/Provider/nexra/NexraChatGPT.py b/g4f/Provider/nexra/NexraChatGPT.py index b9592aac..4039c17e 100644 --- a/g4f/Provider/nexra/NexraChatGPT.py +++ b/g4f/Provider/nexra/NexraChatGPT.py @@ -56,6 +56,7 @@ class NexraChatGPT(AbstractProvider, ProviderModelMixin): cls, model: str, messages: Messages, + markdown: bool = False, **kwargs ) -> CreateResult: model = cls.get_model(model) @@ -68,7 +69,7 @@ class NexraChatGPT(AbstractProvider, ProviderModelMixin): "messages": [], "prompt": format_prompt(messages), "model": model, - "markdown": False + "markdown": markdown } response = requests.post(cls.api_endpoint, headers=headers, json=data) |