Spaces:
Runtime error
Runtime error
| /** | |
| * Provider catalog data — extracted from providers.ts (god-file decomposition). | |
| * Pure data literal; re-exported by the providers.ts barrel. No behavior change. | |
| */ | |
| export const LOCAL_PROVIDERS = { | |
| "lm-studio": { | |
| id: "lm-studio", | |
| alias: "lmstudio", | |
| name: "LM Studio", | |
| icon: "server", | |
| color: "#4A148C", | |
| textIcon: "LM", | |
| website: "https://lmstudio.ai", | |
| authHint: | |
| "API key optional. Configure the local LM Studio OpenAI-compatible base URL (default: http://localhost:1234/v1).", | |
| localDefault: "http://localhost:1234/v1", | |
| passthroughModels: true, | |
| }, | |
| vllm: { | |
| id: "vllm", | |
| alias: "vllm", | |
| name: "vLLM", | |
| icon: "memory", | |
| color: "#0F766E", | |
| textIcon: "VL", | |
| website: "https://github.com/vllm-project/vllm", | |
| authHint: | |
| "API key optional. Configure the local vLLM OpenAI-compatible base URL (default: http://localhost:8000/v1).", | |
| localDefault: "http://localhost:8000/v1", | |
| passthroughModels: true, | |
| }, | |
| lemonade: { | |
| id: "lemonade", | |
| alias: "lemonade", | |
| name: "Lemonade Server", | |
| icon: "bolt", | |
| color: "#F59E0B", | |
| textIcon: "LM", | |
| website: "https://lemonade-server.ai", | |
| authHint: | |
| "API key optional. Configure the local Lemonade OpenAI-compatible base URL (default: http://localhost:13305/api/v1).", | |
| localDefault: "http://localhost:13305/api/v1", | |
| passthroughModels: true, | |
| }, | |
| llamafile: { | |
| id: "llamafile", | |
| alias: "llamafile", | |
| name: "Llamafile", | |
| icon: "article", | |
| color: "#EA580C", | |
| textIcon: "LF", | |
| website: "https://github.com/Mozilla-Ocho/llamafile", | |
| authHint: | |
| "API key optional. Configure the local Llamafile OpenAI-compatible base URL (default: http://127.0.0.1:8080/v1).", | |
| localDefault: "http://127.0.0.1:8080/v1", | |
| passthroughModels: true, | |
| }, | |
| "llama-cpp": { | |
| id: "llama-cpp", | |
| alias: "llamacpp", | |
| name: "llama.cpp", | |
| icon: "memory", | |
| color: "#795548", | |
| textIcon: "LC", | |
| website: "https://github.com/ggml-org/llama.cpp", | |
| authHint: | |
| "API key optional (use any value, e.g. sk-no-key-required). Configure the llama-server OpenAI-compatible base URL (default: http://127.0.0.1:8080/v1). Note: if Llamafile is also installed, both default to port 8080 — run only one at a time or override the port.", | |
| localDefault: "http://127.0.0.1:8080/v1", | |
| passthroughModels: true, | |
| }, | |
| triton: { | |
| id: "triton", | |
| alias: "triton", | |
| name: "NVIDIA Triton", | |
| icon: "developer_board", | |
| color: "#76B900", | |
| textIcon: "TR", | |
| website: "https://developer.nvidia.com/triton-inference-server", | |
| authHint: | |
| "API key optional. Configure the Triton OpenAI-compatible base URL (default: http://localhost:8000/v1).", | |
| localDefault: "http://localhost:8000/v1", | |
| passthroughModels: true, | |
| }, | |
| "docker-model-runner": { | |
| id: "docker-model-runner", | |
| alias: "dmr", | |
| name: "Docker Model Runner", | |
| icon: "inventory_2", | |
| color: "#2496ED", | |
| textIcon: "DM", | |
| website: "https://docs.docker.com/ai/model-runner/", | |
| authHint: | |
| "API key optional. Configure the local Docker Model Runner OpenAI-compatible base URL (default: http://localhost:12434/v1).", | |
| localDefault: "http://localhost:12434/v1", | |
| passthroughModels: true, | |
| }, | |
| xinference: { | |
| id: "xinference", | |
| alias: "xinference", | |
| name: "XInference", | |
| icon: "hub", | |
| color: "#DC2626", | |
| textIcon: "XI", | |
| website: "https://inference.readthedocs.io", | |
| authHint: | |
| "API key optional. Configure the local XInference OpenAI-compatible base URL (default: http://localhost:9997/v1).", | |
| localDefault: "http://localhost:9997/v1", | |
| passthroughModels: true, | |
| }, | |
| oobabooga: { | |
| id: "oobabooga", | |
| alias: "ooba", | |
| name: "oobabooga", | |
| icon: "dns", | |
| color: "#8B5CF6", | |
| textIcon: "OO", | |
| website: "https://github.com/oobabooga/text-generation-webui", | |
| authHint: | |
| "API key optional. Configure the local oobabooga OpenAI-compatible base URL (default: http://localhost:5000/v1).", | |
| localDefault: "http://localhost:5000/v1", | |
| passthroughModels: true, | |
| }, | |
| sdwebui: { | |
| id: "sdwebui", | |
| alias: "sdwebui", | |
| name: "SD WebUI", | |
| icon: "brush", | |
| color: "#FF7043", | |
| textIcon: "SD", | |
| website: "https://github.com/AUTOMATIC1111/stable-diffusion-webui", | |
| hasFree: true, | |
| authHint: | |
| "No API key required. Configure the local WebUI base URL (default: http://localhost:7860).", | |
| localDefault: "http://localhost:7860", | |
| }, | |
| comfyui: { | |
| id: "comfyui", | |
| alias: "comfyui", | |
| name: "ComfyUI", | |
| icon: "account_tree", | |
| color: "#4CAF50", | |
| textIcon: "CF", | |
| website: "https://github.com/comfyanonymous/ComfyUI", | |
| hasFree: true, | |
| authHint: | |
| "No API key required. Configure the local ComfyUI base URL (default: http://localhost:8188).", | |
| localDefault: "http://localhost:8188", | |
| }, | |
| }; | |