Add llamafile as a OpenAI compatible provider (in the list of compatible providers)

This commit is contained in:
Peter Wilson 2025-04-22 16:39:10 +01:00
parent b89a5d7001
commit afaa3da3dd
No known key found for this signature in database
GPG key ID: 3CECF55EBF09C069

View file

@ -155,6 +155,7 @@ LITELLM_CHAT_PROVIDERS = [
"custom", "custom",
"litellm_proxy", "litellm_proxy",
"hosted_vllm", "hosted_vllm",
"llamafile",
"lm_studio", "lm_studio",
"galadriel", "galadriel",
] ]
@ -244,6 +245,7 @@ openai_compatible_providers: List = [
"github", "github",
"litellm_proxy", "litellm_proxy",
"hosted_vllm", "hosted_vllm",
"llamafile",
"lm_studio", "lm_studio",
"galadriel", "galadriel",
] ]
@ -252,6 +254,7 @@ openai_text_completion_compatible_providers: List = (
"together_ai", "together_ai",
"fireworks_ai", "fireworks_ai",
"hosted_vllm", "hosted_vllm",
"llamafile",
] ]
) )
_openai_like_providers: List = [ _openai_like_providers: List = [