summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/Providers/Theb.py
diff options
context:
space:
mode:
Diffstat (limited to 'g4f/Provider/Providers/Theb.py')
-rw-r--r--g4f/Provider/Providers/Theb.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/g4f/Provider/Providers/Theb.py b/g4f/Provider/Providers/Theb.py
index aa43ebc5..a78fb51f 100644
--- a/g4f/Provider/Providers/Theb.py
+++ b/g4f/Provider/Providers/Theb.py
@@ -9,6 +9,7 @@ url = 'https://theb.ai'
model = ['gpt-3.5-turbo']
supports_stream = True
needs_auth = False
+working = False
def _create_completion(model: str, messages: list, stream: bool, **kwargs):
@@ -20,7 +21,7 @@ def _create_completion(model: str, messages: list, stream: bool, **kwargs):
cmd = ['python3', f'{path}/helpers/theb.py', config]
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
-
+
for line in iter(p.stdout.readline, b''):
yield line.decode('utf-8')