summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/nexra/NexraChatGptV2.py
diff options
context:
space:
mode:
authorkqlio67 <kqlio67@users.noreply.github.com>2024-10-21 20:35:47 +0200
committerkqlio67 <kqlio67@users.noreply.github.com>2024-10-21 20:35:47 +0200
commitb2f4c34fd33f0a317088874836e362e66af270df (patch)
tree83ed6a4a2fb6f6af95fd319764d3d615b5774523 /g4f/Provider/nexra/NexraChatGptV2.py
parentupdate providers (g4f/Provider/nexra/NexraChatGptV2.py) (diff)
downloadgpt4free-b2f4c34fd33f0a317088874836e362e66af270df.tar
gpt4free-b2f4c34fd33f0a317088874836e362e66af270df.tar.gz
gpt4free-b2f4c34fd33f0a317088874836e362e66af270df.tar.bz2
gpt4free-b2f4c34fd33f0a317088874836e362e66af270df.tar.lz
gpt4free-b2f4c34fd33f0a317088874836e362e66af270df.tar.xz
gpt4free-b2f4c34fd33f0a317088874836e362e66af270df.tar.zst
gpt4free-b2f4c34fd33f0a317088874836e362e66af270df.zip
Diffstat (limited to '')
-rw-r--r--g4f/Provider/nexra/NexraChatGptV2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/Provider/nexra/NexraChatGptV2.py b/g4f/Provider/nexra/NexraChatGptV2.py
index ae5fdaa9..ed40f070 100644
--- a/g4f/Provider/nexra/NexraChatGptV2.py
+++ b/g4f/Provider/nexra/NexraChatGptV2.py
@@ -78,7 +78,7 @@ class NexraChatGptV2(AbstractProvider, ProviderModelMixin):
for line in response.iter_lines(decode_unicode=True):
if line:
try:
- line = line.lstrip('`')
+ line = line.lstrip('')
data = json.loads(line)
if data.get('finish'):
break