From 533954201e7bc974898985cd0374b8bb89924a77 Mon Sep 17 00:00:00 2001 From: kqlio67 Date: Tue, 22 Oct 2024 13:46:36 +0300 Subject: Updated (g4f/Provider/nexra/) --- g4f/Provider/nexra/NexraBing.py | 3 ++- g4f/Provider/nexra/NexraBlackbox.py | 1 + g4f/Provider/nexra/NexraChatGPT.py | 1 + g4f/Provider/nexra/NexraChatGPT4o.py | 1 + g4f/Provider/nexra/NexraChatGptV2.py | 1 + g4f/Provider/nexra/NexraChatGptWeb.py | 1 + g4f/Provider/nexra/NexraDallE.py | 1 + g4f/Provider/nexra/NexraDallE2.py | 1 + g4f/Provider/nexra/NexraEmi.py | 1 + g4f/Provider/nexra/NexraFluxPro.py | 1 + g4f/Provider/nexra/NexraGeminiPro.py | 1 + g4f/Provider/nexra/NexraMidjourney.py | 1 + g4f/Provider/nexra/NexraQwen.py | 1 + 13 files changed, 14 insertions(+), 1 deletion(-) diff --git a/g4f/Provider/nexra/NexraBing.py b/g4f/Provider/nexra/NexraBing.py index b7e8f73a..28f0b117 100644 --- a/g4f/Provider/nexra/NexraBing.py +++ b/g4f/Provider/nexra/NexraBing.py @@ -37,7 +37,8 @@ class NexraBing(AbstractProvider, ProviderModelMixin): cls, model: str, messages: Messages, - stream: bool, + stream: bool = False, + proxy: str = None, markdown: bool = False, **kwargs ) -> CreateResult: diff --git a/g4f/Provider/nexra/NexraBlackbox.py b/g4f/Provider/nexra/NexraBlackbox.py index cbe26584..be048fdd 100644 --- a/g4f/Provider/nexra/NexraBlackbox.py +++ b/g4f/Provider/nexra/NexraBlackbox.py @@ -33,6 +33,7 @@ class NexraBlackbox(AbstractProvider, ProviderModelMixin): model: str, messages: Messages, stream: bool, + proxy: str = None, markdown: bool = False, websearch: bool = False, **kwargs diff --git a/g4f/Provider/nexra/NexraChatGPT.py b/g4f/Provider/nexra/NexraChatGPT.py index 4039c17e..fc5051ee 100644 --- a/g4f/Provider/nexra/NexraChatGPT.py +++ b/g4f/Provider/nexra/NexraChatGPT.py @@ -56,6 +56,7 @@ class NexraChatGPT(AbstractProvider, ProviderModelMixin): cls, model: str, messages: Messages, + proxy: str = None, markdown: bool = False, **kwargs ) -> CreateResult: diff --git a/g4f/Provider/nexra/NexraChatGPT4o.py b/g4f/Provider/nexra/NexraChatGPT4o.py index e1a65350..126d32b8 100644 --- a/g4f/Provider/nexra/NexraChatGPT4o.py +++ b/g4f/Provider/nexra/NexraChatGPT4o.py @@ -27,6 +27,7 @@ class NexraChatGPT4o(AbstractProvider, ProviderModelMixin): model: str, messages: Messages, stream: bool, + proxy: str = None, markdown: bool = False, **kwargs ) -> CreateResult: diff --git a/g4f/Provider/nexra/NexraChatGptV2.py b/g4f/Provider/nexra/NexraChatGptV2.py index 98e98008..1ff42705 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, + proxy: str = None, markdown: bool = False, **kwargs ) -> CreateResult: diff --git a/g4f/Provider/nexra/NexraChatGptWeb.py b/g4f/Provider/nexra/NexraChatGptWeb.py index 258ce7f5..f82694d4 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, + proxy: str = None, markdown: bool = False, **kwargs ) -> CreateResult: diff --git a/g4f/Provider/nexra/NexraDallE.py b/g4f/Provider/nexra/NexraDallE.py index dad1d057..f605c6d0 100644 --- a/g4f/Provider/nexra/NexraDallE.py +++ b/g4f/Provider/nexra/NexraDallE.py @@ -24,6 +24,7 @@ class NexraDallE(AbstractProvider, ProviderModelMixin): cls, model: str, messages: Messages, + proxy: str = None, response: str = "url", # base64 or url **kwargs ) -> CreateResult: diff --git a/g4f/Provider/nexra/NexraDallE2.py b/g4f/Provider/nexra/NexraDallE2.py index c26e2078..2a36b6e6 100644 --- a/g4f/Provider/nexra/NexraDallE2.py +++ b/g4f/Provider/nexra/NexraDallE2.py @@ -24,6 +24,7 @@ class NexraDallE2(AbstractProvider, ProviderModelMixin): cls, model: str, messages: Messages, + proxy: str = None, response: str = "url", # base64 or url **kwargs ) -> CreateResult: diff --git a/g4f/Provider/nexra/NexraEmi.py b/g4f/Provider/nexra/NexraEmi.py index cbdc4fc9..c26becec 100644 --- a/g4f/Provider/nexra/NexraEmi.py +++ b/g4f/Provider/nexra/NexraEmi.py @@ -24,6 +24,7 @@ class NexraEmi(AbstractProvider, ProviderModelMixin): cls, model: str, messages: Messages, + proxy: str = None, response: str = "url", # base64 or url **kwargs ) -> CreateResult: diff --git a/g4f/Provider/nexra/NexraFluxPro.py b/g4f/Provider/nexra/NexraFluxPro.py index a6ee3d7e..cfb26385 100644 --- a/g4f/Provider/nexra/NexraFluxPro.py +++ b/g4f/Provider/nexra/NexraFluxPro.py @@ -31,6 +31,7 @@ class NexraFluxPro(AbstractProvider, ProviderModelMixin): cls, model: str, messages: Messages, + proxy: str = None, response: str = "url", # base64 or url **kwargs ) -> CreateResult: diff --git a/g4f/Provider/nexra/NexraGeminiPro.py b/g4f/Provider/nexra/NexraGeminiPro.py index 0abcf1a8..e4e6a8ec 100644 --- a/g4f/Provider/nexra/NexraGeminiPro.py +++ b/g4f/Provider/nexra/NexraGeminiPro.py @@ -27,6 +27,7 @@ class NexraGeminiPro(AbstractProvider, ProviderModelMixin): model: str, messages: Messages, stream: bool, + proxy: str = None, markdown: bool = False, **kwargs ) -> CreateResult: diff --git a/g4f/Provider/nexra/NexraMidjourney.py b/g4f/Provider/nexra/NexraMidjourney.py index 2eb57e29..c427f8a0 100644 --- a/g4f/Provider/nexra/NexraMidjourney.py +++ b/g4f/Provider/nexra/NexraMidjourney.py @@ -24,6 +24,7 @@ class NexraMidjourney(AbstractProvider, ProviderModelMixin): cls, model: str, messages: Messages, + proxy: str = None, response: str = "url", # base64 or url **kwargs ) -> CreateResult: diff --git a/g4f/Provider/nexra/NexraQwen.py b/g4f/Provider/nexra/NexraQwen.py index 574f198e..7f944e44 100644 --- a/g4f/Provider/nexra/NexraQwen.py +++ b/g4f/Provider/nexra/NexraQwen.py @@ -27,6 +27,7 @@ class NexraQwen(AbstractProvider, ProviderModelMixin): model: str, messages: Messages, stream: bool, + proxy: str = None, markdown: bool = False, **kwargs ) -> CreateResult: -- cgit v1.2.3