summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/nexra/NexraChatGptV2.py
diff options
context:
space:
mode:
authorkqlio67 <kqlio67@users.noreply.github.com>2024-10-21 20:45:40 +0200
committerkqlio67 <kqlio67@users.noreply.github.com>2024-10-21 20:45:40 +0200
commit7c666082bdccb2c0e4b90a4740f7e48c4f4bf478 (patch)
tree933f86b1487ce45584e0f879e688c75f2db45198 /g4f/Provider/nexra/NexraChatGptV2.py
parentRestored provider (g4f/Provider/nexra/NexraChatGPT4o.py) (diff)
downloadgpt4free-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/NexraChatGptV2.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/g4f/Provider/nexra/NexraChatGptV2.py b/g4f/Provider/nexra/NexraChatGptV2.py
index ed40f070..98e98008 100644
--- a/g4f/Provider/nexra/NexraChatGptV2.py
+++ b/g4f/Provider/nexra/NexraChatGptV2.py
@@ -33,6 +33,7 @@ class NexraChatGptV2(AbstractProvider, ProviderModelMixin):
model: str,
messages: Messages,
stream: bool,
+ markdown: bool = False,
**kwargs
) -> CreateResult:
model = cls.get_model(model)
@@ -49,7 +50,7 @@ class NexraChatGptV2(AbstractProvider, ProviderModelMixin):
}
],
"stream": stream,
- "markdown": False,
+ "markdown": markdown,
"model": model
}