summaryrefslogtreecommitdiffstats
path: root/g4f/Provider
diff options
context:
space:
mode:
authorkqlio67 <kqlio67@users.noreply.github.com>2024-10-22 12:46:36 +0200
committerkqlio67 <kqlio67@users.noreply.github.com>2024-10-22 12:46:36 +0200
commit533954201e7bc974898985cd0374b8bb89924a77 (patch)
treea19506ebd623d341c71b0fb6221f4e7a41ad94ea /g4f/Provider
parentRestored provider (g4f/Provider/nexra/NexraProdiaAI.py) (diff)
downloadgpt4free-533954201e7bc974898985cd0374b8bb89924a77.tar
gpt4free-533954201e7bc974898985cd0374b8bb89924a77.tar.gz
gpt4free-533954201e7bc974898985cd0374b8bb89924a77.tar.bz2
gpt4free-533954201e7bc974898985cd0374b8bb89924a77.tar.lz
gpt4free-533954201e7bc974898985cd0374b8bb89924a77.tar.xz
gpt4free-533954201e7bc974898985cd0374b8bb89924a77.tar.zst
gpt4free-533954201e7bc974898985cd0374b8bb89924a77.zip
Diffstat (limited to 'g4f/Provider')
-rw-r--r--g4f/Provider/nexra/NexraBing.py3
-rw-r--r--g4f/Provider/nexra/NexraBlackbox.py1
-rw-r--r--g4f/Provider/nexra/NexraChatGPT.py1
-rw-r--r--g4f/Provider/nexra/NexraChatGPT4o.py1
-rw-r--r--g4f/Provider/nexra/NexraChatGptV2.py1
-rw-r--r--g4f/Provider/nexra/NexraChatGptWeb.py1
-rw-r--r--g4f/Provider/nexra/NexraDallE.py1
-rw-r--r--g4f/Provider/nexra/NexraDallE2.py1
-rw-r--r--g4f/Provider/nexra/NexraEmi.py1
-rw-r--r--g4f/Provider/nexra/NexraFluxPro.py1
-rw-r--r--g4f/Provider/nexra/NexraGeminiPro.py1
-rw-r--r--g4f/Provider/nexra/NexraMidjourney.py1
-rw-r--r--g4f/Provider/nexra/NexraQwen.py1
13 files changed, 14 insertions, 1 deletions
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: