LambdaChat.py 863 B

1234567891011121314151617181920212223242526272829303132
  1. from __future__ import annotations
  2. from .hf.HuggingChat import HuggingChat
  3. class LambdaChat(HuggingChat):
  4. label = "Lambda Chat"
  5. domain = "lambda.chat"
  6. origin = f"https://{domain}"
  7. url = origin
  8. working = True
  9. use_nodriver = False
  10. needs_auth = False
  11. default_model = "deepseek-llama3.3-70b"
  12. reasoning_model = "deepseek-r1"
  13. image_models = []
  14. fallback_models = [
  15. default_model,
  16. reasoning_model,
  17. "hermes-3-llama-3.1-405b-fp8",
  18. "llama3.1-nemotron-70b-instruct",
  19. "lfm-40b",
  20. "llama3.3-70b-instruct-fp8"
  21. ]
  22. models = fallback_models.copy()
  23. model_aliases = {
  24. "deepseek-v3": default_model,
  25. "hermes-3": "hermes-3-llama-3.1-405b-fp8",
  26. "nemotron-70b": "llama3.1-nemotron-70b-instruct",
  27. "llama-3.3-70b": "llama3.3-70b-instruct-fp8"
  28. }