mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-05 02:41:56 +00:00
refactor(ui): remove non-LLM providers from Add Model dropdown
Remove Custom, Custom OpenAI, GitHub, Humanloop, Langfuse, Litellm Proxy, and Milvus from the Providers enum, provider_map, and providerLogoMap. These are not LLM API providers (they are internal tools, vector stores, or observability platforms) and should not appear in the Add Model form. Co-authored-by: Ishaan Jaff <ishaan-jaff@users.noreply.github.com>
This commit is contained in:
parent
9f98a4f5f2
commit
148b9b819c
1 changed files with 0 additions and 19 deletions
|
|
@ -23,8 +23,6 @@ export enum Providers {
|
|||
COHERE_CHAT = "Cohere Chat",
|
||||
COMETAPI = "Cometapi",
|
||||
COMPACTIFAI = "Compactifai",
|
||||
CUSTOM = "Custom",
|
||||
CUSTOM_OPENAI = "Custom Openai",
|
||||
Cursor = "Cursor",
|
||||
Dashscope = "Dashscope",
|
||||
Databricks = "Databricks (Qwen API)",
|
||||
|
|
@ -41,7 +39,6 @@ export enum Providers {
|
|||
FireworksAI = "Fireworks AI",
|
||||
FRIENDLIAI = "Friendliai",
|
||||
GALADRIEL = "Galadriel",
|
||||
GITHUB = "Github",
|
||||
GITHUB_COPILOT = "Github Copilot",
|
||||
Google_AI_Studio = "Google AI Studio",
|
||||
GradientAI = "GradientAI",
|
||||
|
|
@ -49,19 +46,15 @@ export enum Providers {
|
|||
HEROKU = "Heroku",
|
||||
Hosted_Vllm = "vllm",
|
||||
HUGGINGFACE = "Huggingface",
|
||||
HUMANLOOP = "Humanloop",
|
||||
HYPERBOLIC = "Hyperbolic",
|
||||
Infinity = "Infinity",
|
||||
JinaAI = "Jina AI",
|
||||
LAMBDA_AI = "Lambda Ai",
|
||||
LANGFUSE = "Langfuse",
|
||||
LEMONADE = "Lemonade",
|
||||
LITELLM_PROXY = "Litellm Proxy",
|
||||
LLAMAFILE = "Llamafile",
|
||||
LM_STUDIO = "Lm Studio",
|
||||
LLAMA = "Meta Llama",
|
||||
MARITALK = "Maritalk",
|
||||
MILVUS = "Milvus",
|
||||
MiniMax = "MiniMax",
|
||||
MistralAI = "Mistral AI",
|
||||
MOONSHOT = "Moonshot",
|
||||
|
|
@ -135,8 +128,6 @@ export const provider_map: Record<string, string> = {
|
|||
COHERE_CHAT: "cohere_chat",
|
||||
COMETAPI: "cometapi",
|
||||
COMPACTIFAI: "compactifai",
|
||||
CUSTOM: "custom",
|
||||
CUSTOM_OPENAI: "custom_openai",
|
||||
Cursor: "cursor",
|
||||
Dashscope: "dashscope",
|
||||
Databricks: "databricks",
|
||||
|
|
@ -153,7 +144,6 @@ export const provider_map: Record<string, string> = {
|
|||
FireworksAI: "fireworks_ai",
|
||||
FRIENDLIAI: "friendliai",
|
||||
GALADRIEL: "galadriel",
|
||||
GITHUB: "github",
|
||||
GITHUB_COPILOT: "github_copilot",
|
||||
Google_AI_Studio: "gemini",
|
||||
GradientAI: "gradient_ai",
|
||||
|
|
@ -161,19 +151,15 @@ export const provider_map: Record<string, string> = {
|
|||
HEROKU: "heroku",
|
||||
Hosted_Vllm: "hosted_vllm",
|
||||
HUGGINGFACE: "huggingface",
|
||||
HUMANLOOP: "humanloop",
|
||||
HYPERBOLIC: "hyperbolic",
|
||||
Infinity: "infinity",
|
||||
JinaAI: "jina_ai",
|
||||
LAMBDA_AI: "lambda_ai",
|
||||
LANGFUSE: "langfuse",
|
||||
LEMONADE: "lemonade",
|
||||
LITELLM_PROXY: "litellm_proxy",
|
||||
LLAMAFILE: "llamafile",
|
||||
LLAMA: "meta_llama",
|
||||
LM_STUDIO: "lm_studio",
|
||||
MARITALK: "maritalk",
|
||||
MILVUS: "milvus",
|
||||
MiniMax: "minimax",
|
||||
MistralAI: "mistral",
|
||||
MOONSHOT: "moonshot",
|
||||
|
|
@ -248,7 +234,6 @@ export const providerLogoMap: Record<string, string> = {
|
|||
[Providers.COHERE_CHAT]: `${asset_logos_folder}cohere.svg`,
|
||||
[Providers.COMETAPI]: `${asset_logos_folder}cometapi.svg`,
|
||||
[Providers.Cursor]: `${asset_logos_folder}cursor.svg`,
|
||||
[Providers.CUSTOM_OPENAI]: `${asset_logos_folder}openai_small.svg`,
|
||||
[Providers.Databricks]: `${asset_logos_folder}databricks.svg`,
|
||||
[Providers.Dashscope]: `${asset_logos_folder}dashscope.svg`,
|
||||
[Providers.Deepseek]: `${asset_logos_folder}deepseek.svg`,
|
||||
|
|
@ -259,7 +244,6 @@ export const providerLogoMap: Record<string, string> = {
|
|||
[Providers.FEATHERLESS_AI]: `${asset_logos_folder}featherless.svg`,
|
||||
[Providers.FireworksAI]: `${asset_logos_folder}fireworks.svg`,
|
||||
[Providers.FRIENDLIAI]: `${asset_logos_folder}friendli.svg`,
|
||||
[Providers.GITHUB]: `${asset_logos_folder}github.svg`,
|
||||
[Providers.GITHUB_COPILOT]: `${asset_logos_folder}github_copilot.svg`,
|
||||
[Providers.Google_AI_Studio]: `${asset_logos_folder}google.svg`,
|
||||
[Providers.GradientAI]: `${asset_logos_folder}gradientai.svg`,
|
||||
|
|
@ -270,11 +254,8 @@ export const providerLogoMap: Record<string, string> = {
|
|||
[Providers.Infinity]: `${asset_logos_folder}infinity.png`,
|
||||
[Providers.JinaAI]: `${asset_logos_folder}jina.png`,
|
||||
[Providers.LAMBDA_AI]: `${asset_logos_folder}lambda.svg`,
|
||||
[Providers.LANGFUSE]: `${asset_logos_folder}langfuse.svg`,
|
||||
[Providers.LITELLM_PROXY]: `${asset_logos_folder}litellm.jpg`,
|
||||
[Providers.LM_STUDIO]: `${asset_logos_folder}lmstudio.svg`,
|
||||
[Providers.LLAMA]: `${asset_logos_folder}meta_llama.svg`,
|
||||
[Providers.MILVUS]: `${asset_logos_folder}milvus.svg`,
|
||||
[Providers.MiniMax]: `${asset_logos_folder}minimax.svg`,
|
||||
[Providers.MistralAI]: `${asset_logos_folder}mistral.svg`,
|
||||
[Providers.MOONSHOT]: `${asset_logos_folder}moonshot.svg`,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue