feat: add EmpirioLabs LLM provider#5816
Open
Adam-Dalloul wants to merge 1 commit into
Open
Conversation
Adds EmpirioLabs (https://empiriolabs.ai) as a built-in LLM provider. EmpirioLabs is an OpenAI-compatible multi-model API hosting open and proprietary models (Qwen, DeepSeek, GLM, Kimi, MiniMax, and more) with a GET /v1/models catalog for dynamic model listing. Mirrors the CometAPI integration (Mintplex-Labs#4379): server LLM class + agent provider, custom model listing via /v1/models, ENV/system settings wiring, frontend options component, onboarding and privacy disclosure entries, env examples, and README provider rows. Resolves Mintplex-Labs#5814 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this does
Adds EmpirioLabs (https://empiriolabs.ai) as a built-in LLM provider.
EmpirioLabs is an OpenAI-compatible, multi-model API that hosts open and proprietary models (Qwen, DeepSeek, GLM, Kimi, MiniMax, Gemma, and more) behind a single base URL with pay-as-you-go pricing. It exposes:
https://api.empiriolabs.ai/v1(OpenAI-compatible, streaming supported)GET /v1/modelsfor the live model catalog, so the existing dynamic model-listing pattern works as-isUsers could already reach EmpirioLabs through the Generic OpenAI connector, but a named provider with a logo, onboarding entry, and data-handling disclosure makes it discoverable and removes base-URL setup friction, the same way the CometAPI integration (#4379) did.
Resolves #5814.
Approach
This mirrors the CometAPI integration (#4379) file-for-file, following the current in-tree CometAPI shape:
Server
server/utils/AiProviders/empiriolabs/index.js(LLM class, OpenAI-compatible, cached/v1/modelslisting)server/utils/AiProviders/empiriolabs/constants.js(filters the catalog down to chat-capable models)server/utils/agents/aibitat/providers/empiriolabs.js(agent provider with native tool calling + UnTooled fallback)server/utils/helpers/index.js,server/utils/helpers/customModels.js,server/utils/helpers/updateENV.js,server/models/systemSettings.js,server/utils/agents/index.js,server/utils/agents/aibitat/index.js, andserver/utils/agents/aibitat/providers/index.jsandai-provider.jsFrontend
frontend/src/components/LLMSelection/EmpirioLabsOptions/index.jsx(API key + dynamic model selection + stream-timeout advanced control)GeneralSettings/LLMPreference, bothOnboardingFlowsteps (LLM preference + data-handling privacy disclosure viaProviderPrivacy/constants.js), andWorkspaceSettings/AgentConfig/AgentLLMSelectionfrontend/src/media/llmprovider/empiriolabs.png(logo)Config / docs
docker/.env.exampleandserver/.env.exampleREADME.md,locales/README.ja-JP.md,locales/README.zh-CN.mdserver/storage/models/.gitignoreEnv vars
Notes
.prettierrc; all new server modules passnode --check.