summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkqlio67 <kqlio67@users.noreply.github.com>2024-11-12 19:56:23 +0100
committerkqlio67 <kqlio67@users.noreply.github.com>2024-11-12 19:56:23 +0100
commit4e606a4916b19fac2046bd2138a2eff9900cfcc9 (patch)
treec7f1a192ad02541cec4310d582b4152a81d34a7a
parentUpdate (docs/providers-and-models.md) (diff)
downloadgpt4free-4e606a4916b19fac2046bd2138a2eff9900cfcc9.tar
gpt4free-4e606a4916b19fac2046bd2138a2eff9900cfcc9.tar.gz
gpt4free-4e606a4916b19fac2046bd2138a2eff9900cfcc9.tar.bz2
gpt4free-4e606a4916b19fac2046bd2138a2eff9900cfcc9.tar.lz
gpt4free-4e606a4916b19fac2046bd2138a2eff9900cfcc9.tar.xz
gpt4free-4e606a4916b19fac2046bd2138a2eff9900cfcc9.tar.zst
gpt4free-4e606a4916b19fac2046bd2138a2eff9900cfcc9.zip
-rw-r--r--g4f/Provider/PerplexityLabs.py1
-rw-r--r--g4f/models.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/g4f/Provider/PerplexityLabs.py b/g4f/Provider/PerplexityLabs.py
index 364898bd..b3119cb6 100644
--- a/g4f/Provider/PerplexityLabs.py
+++ b/g4f/Provider/PerplexityLabs.py
@@ -31,6 +31,7 @@ class PerplexityLabs(AsyncGeneratorProvider, ProviderModelMixin):
"sonar-chat": "llama-3.1-sonar-small-128k-chat",
"llama-3.1-8b": "llama-3.1-8b-instruct",
"llama-3.1-70b": "llama-3.1-70b-instruct",
+ "lfm-40b": "/models/LiquidCloud",
}
@classmethod
diff --git a/g4f/models.py b/g4f/models.py
index 1cefae8b..aebe305f 100644
--- a/g4f/models.py
+++ b/g4f/models.py
@@ -464,7 +464,7 @@ openhermes_2_5 = Model(
lfm_40b = Model(
name = 'lfm-40b',
base_provider = 'Liquid',
- best_provider = Airforce
+ best_provider = IterListProvider([Airforce, PerplexityLabs])
)