From 4e606a4916b19fac2046bd2138a2eff9900cfcc9 Mon Sep 17 00:00:00 2001 From: kqlio67 Date: Tue, 12 Nov 2024 20:56:23 +0200 Subject: Update (g4f/models.py g4f/Provider/PerplexityLabs.py) --- g4f/Provider/PerplexityLabs.py | 1 + g4f/models.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'g4f') 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]) ) -- cgit v1.2.3