summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/nexra/NexraBlackbox.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/NexraBlackbox.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 'g4f/Provider/nexra/NexraBlackbox.py')
-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
}