mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-12-23 19:11:48 +03:00
Updated provider (g4f/Provider/nexra/NexraChatGptV2.py)
This commit is contained in:
parent
e08b992f33
commit
b2f4c34fd3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user