Files
gpt4free/g4f/Provider/LambdaChat.py
hlohaus c97ba0c88e Add audio transcribing example and support
Add Grok Chat provider
Rename images parameter to media
Update demo homepage
2025-03-21 03:17:45 +01:00

33 lines
916 B
Python

from __future__ import annotations
from .hf.HuggingChat import HuggingChat
class LambdaChat(HuggingChat):
label = "Lambda Chat"
domain = "lambda.chat"
origin = f"https://{domain}"
url = origin
working = True
use_nodriver = False
needs_auth = False
default_model = "deepseek-llama3.3-70b"
reasoning_model = "deepseek-r1"
image_models = []
models = []
fallback_models = [
default_model,
reasoning_model,
"hermes-3-llama-3.1-405b-fp8",
"hermes3-405b-fp8-128k",
"llama3.1-nemotron-70b-instruct",
"lfm-40b",
"llama3.3-70b-instruct-fp8"
]
model_aliases = {
"deepseek-v3": default_model,
"hermes-3": "hermes-3-llama-3.1-405b-fp8",
"hermes-3": "hermes3-405b-fp8-128k",
"nemotron-70b": "llama3.1-nemotron-70b-instruct",
"llama-3.3-70b": "llama3.3-70b-instruct-fp8"
}