From e08b992f3383cc9416d74612f0ff3d5bfe7f55a7 Mon Sep 17 00:00:00 2001 From: kqlio67 Date: Mon, 21 Oct 2024 21:33:26 +0300 Subject: [PATCH] update providers (g4f/Provider/nexra/NexraChatGptV2.py) --- g4f/Provider/nexra/NexraChatGptV2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/g4f/Provider/nexra/NexraChatGptV2.py b/g4f/Provider/nexra/NexraChatGptV2.py index 4ba21b28..ae5fdaa9 100644 --- a/g4f/Provider/nexra/NexraChatGptV2.py +++ b/g4f/Provider/nexra/NexraChatGptV2.py @@ -64,7 +64,7 @@ class NexraChatGptV2(AbstractProvider, ProviderModelMixin): def process_non_streaming_response(cls, response): if response.status_code == 200: try: - content = response.text.lstrip('`') + content = response.text.lstrip('') data = json.loads(content) return data.get('message', '') except json.JSONDecodeError: