diff options
author | kqlio67 <kqlio67@users.noreply.github.com> | 2024-10-21 20:45:40 +0200 |
---|---|---|
committer | kqlio67 <kqlio67@users.noreply.github.com> | 2024-10-21 20:45:40 +0200 |
commit | 7c666082bdccb2c0e4b90a4740f7e48c4f4bf478 (patch) | |
tree | 933f86b1487ce45584e0f879e688c75f2db45198 /g4f/Provider/nexra/NexraChatGptWeb.py | |
parent | Restored provider (g4f/Provider/nexra/NexraChatGPT4o.py) (diff) | |
download | gpt4free-7c666082bdccb2c0e4b90a4740f7e48c4f4bf478.tar gpt4free-7c666082bdccb2c0e4b90a4740f7e48c4f4bf478.tar.gz gpt4free-7c666082bdccb2c0e4b90a4740f7e48c4f4bf478.tar.bz2 gpt4free-7c666082bdccb2c0e4b90a4740f7e48c4f4bf478.tar.lz gpt4free-7c666082bdccb2c0e4b90a4740f7e48c4f4bf478.tar.xz gpt4free-7c666082bdccb2c0e4b90a4740f7e48c4f4bf478.tar.zst gpt4free-7c666082bdccb2c0e4b90a4740f7e48c4f4bf478.zip |
Diffstat (limited to '')
-rw-r--r-- | g4f/Provider/nexra/NexraChatGptWeb.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/g4f/Provider/nexra/NexraChatGptWeb.py b/g4f/Provider/nexra/NexraChatGptWeb.py index 653c8904..258ce7f5 100644 --- a/g4f/Provider/nexra/NexraChatGptWeb.py +++ b/g4f/Provider/nexra/NexraChatGptWeb.py @@ -31,6 +31,7 @@ class NexraChatGptWeb(AbstractProvider, ProviderModelMixin): cls, model: str, messages: Messages, + markdown: bool = False, **kwargs ) -> CreateResult: model = cls.get_model(model) @@ -42,7 +43,7 @@ class NexraChatGptWeb(AbstractProvider, ProviderModelMixin): data = { "prompt": format_prompt(messages), - "markdown": False + "markdown": markdown } response = requests.post(api_endpoint, headers=headers, json=data) |