diff options
author | Tekky <98614666+xtekky@users.noreply.github.com> | 2023-09-26 15:06:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-26 15:06:06 +0200 |
commit | 41af8aff6ce09be4131d50e0e24b8622628441fc (patch) | |
tree | 1519231f3513b57acf2548b77f1fc89e092fc4cb /g4f/Provider/PerplexityAi.py | |
parent | ~ (diff) | |
parent | Add ChatgptDuo and Aibn Provider (diff) | |
download | gpt4free-41af8aff6ce09be4131d50e0e24b8622628441fc.tar gpt4free-41af8aff6ce09be4131d50e0e24b8622628441fc.tar.gz gpt4free-41af8aff6ce09be4131d50e0e24b8622628441fc.tar.bz2 gpt4free-41af8aff6ce09be4131d50e0e24b8622628441fc.tar.lz gpt4free-41af8aff6ce09be4131d50e0e24b8622628441fc.tar.xz gpt4free-41af8aff6ce09be4131d50e0e24b8622628441fc.tar.zst gpt4free-41af8aff6ce09be4131d50e0e24b8622628441fc.zip |
Diffstat (limited to '')
-rw-r--r-- | g4f/Provider/PerplexityAi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/Provider/PerplexityAi.py b/g4f/Provider/PerplexityAi.py index 269cdafd..fc0fd48c 100644 --- a/g4f/Provider/PerplexityAi.py +++ b/g4f/Provider/PerplexityAi.py @@ -58,7 +58,7 @@ class PerplexityAi(AsyncProvider): result = json.loads(json.loads(line[3:])[0]["text"]) cls._sources = [{ - "name": source["name"], + "title": source["name"], "url": source["url"], "snippet": source["snippet"] } for source in result["web_results"]] |