summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/nexra/NexraBlackbox.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g4f/Provider/nexra/NexraBlackbox.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/g4f/Provider/nexra/NexraBlackbox.py b/g4f/Provider/nexra/NexraBlackbox.py
index 1b316803..cbe26584 100644
--- a/g4f/Provider/nexra/NexraBlackbox.py
+++ b/g4f/Provider/nexra/NexraBlackbox.py
@@ -33,6 +33,8 @@ class NexraBlackbox(AbstractProvider, ProviderModelMixin):
model: str,
messages: Messages,
stream: bool,
+ markdown: bool = False,
+ websearch: bool = False,
**kwargs
) -> CreateResult:
model = cls.get_model(model)
@@ -48,9 +50,9 @@ class NexraBlackbox(AbstractProvider, ProviderModelMixin):
"content": format_prompt(messages)
}
],
- "websearch": False,
+ "websearch": websearch,
"stream": stream,
- "markdown": False,
+ "markdown": markdown,
"model": model
}