From b2f4c34fd33f0a317088874836e362e66af270df Mon Sep 17 00:00:00 2001 From: kqlio67 Date: Mon, 21 Oct 2024 21:35:47 +0300 Subject: Updated provider (g4f/Provider/nexra/NexraChatGptV2.py) --- g4f/Provider/nexra/NexraChatGptV2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f/Provider') 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 -- cgit v1.2.3