summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/nexra/NexraChatGptWeb.py
diff options
context:
space:
mode:
Diffstat (limited to 'g4f/Provider/nexra/NexraChatGptWeb.py')
-rw-r--r--g4f/Provider/nexra/NexraChatGptWeb.py3
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)