mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-11-01 12:02:40 +08:00
Fix PerplexityLabs Provider, Improve bypass_cloudflare helper
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user