summaryrefslogtreecommitdiffstats
path: root/g4f/Provider
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2023-12-07 19:44:37 +0100
committerGitHub <noreply@github.com>2023-12-07 19:44:37 +0100
commit6ab5d860859854025eaedb79242d31b7904722b7 (patch)
treec7d32de163cf90c004f3a217770ce370ea6b17b5 /g4f/Provider
parentAdd websearch to gui (#1314) (diff)
parentUpdate readme. Add docker hub (diff)
downloadgpt4free-6ab5d860859854025eaedb79242d31b7904722b7.tar
gpt4free-6ab5d860859854025eaedb79242d31b7904722b7.tar.gz
gpt4free-6ab5d860859854025eaedb79242d31b7904722b7.tar.bz2
gpt4free-6ab5d860859854025eaedb79242d31b7904722b7.tar.lz
gpt4free-6ab5d860859854025eaedb79242d31b7904722b7.tar.xz
gpt4free-6ab5d860859854025eaedb79242d31b7904722b7.tar.zst
gpt4free-6ab5d860859854025eaedb79242d31b7904722b7.zip
Diffstat (limited to 'g4f/Provider')
-rw-r--r--g4f/Provider/retry_provider.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/Provider/retry_provider.py b/g4f/Provider/retry_provider.py
index 5979e15b..6fdefe0f 100644
--- a/g4f/Provider/retry_provider.py
+++ b/g4f/Provider/retry_provider.py
@@ -10,7 +10,6 @@ from .. import debug
class RetryProvider(AsyncProvider):
__name__: str = "RetryProvider"
- working: bool = True
supports_stream: bool = True
def __init__(
@@ -20,6 +19,7 @@ class RetryProvider(AsyncProvider):
) -> None:
self.providers: List[Type[BaseProvider]] = providers
self.shuffle: bool = shuffle
+ self.working = True
def create_completion(
self,