summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/PerplexityLabs.py
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-01-27 02:00:44 +0100
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-01-27 02:00:44 +0100
commit47b50b4827121ec68d9e52a018b631a4a3f09625 (patch)
treed4d9d2040f8588634413be86d7e24b914fa6e29c /g4f/Provider/PerplexityLabs.py
parentFix: ChromeDriver only supports characters in the BMP (diff)
downloadgpt4free-47b50b4827121ec68d9e52a018b631a4a3f09625.tar
gpt4free-47b50b4827121ec68d9e52a018b631a4a3f09625.tar.gz
gpt4free-47b50b4827121ec68d9e52a018b631a4a3f09625.tar.bz2
gpt4free-47b50b4827121ec68d9e52a018b631a4a3f09625.tar.lz
gpt4free-47b50b4827121ec68d9e52a018b631a4a3f09625.tar.xz
gpt4free-47b50b4827121ec68d9e52a018b631a4a3f09625.tar.zst
gpt4free-47b50b4827121ec68d9e52a018b631a4a3f09625.zip
Diffstat (limited to 'g4f/Provider/PerplexityLabs.py')
-rw-r--r--g4f/Provider/PerplexityLabs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/Provider/PerplexityLabs.py b/g4f/Provider/PerplexityLabs.py
index a7b98f7c..a82227cd 100644
--- a/g4f/Provider/PerplexityLabs.py
+++ b/g4f/Provider/PerplexityLabs.py
@@ -76,7 +76,7 @@ class PerplexityLabs(AsyncGeneratorProvider, ProviderModelMixin):
'model': cls.get_model(model),
'messages': messages
}
- await ws.send_str('42' + json.dumps(['perplexity_playground', message_data]))
+ await ws.send_str('42' + json.dumps(['perplexity_labs', message_data]))
last_message = 0
while True:
message = await ws.receive_str()