Add EmpirioLabs AI provider with hourly sync#2707
Open
Adam-Dalloul wants to merge 1 commit into
Open
Conversation
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.
Adds EmpirioLabs AI as a provider. EmpirioLabs exposes an OpenAI-compatible API at
https://api.empiriolabs.ai/v1, and its model catalog is public and unauthenticated, so the sync needs no API key.What this includes:
providers/empiriolabs/provider.toml, a compliantlogo.svg(SVG, no fixed size,currentColor), and seed model TOMLs for the text chat lineup.packages/core/src/sync/providers/empiriolabs.ts) registered inpackages/core/src/sync/index.ts. It reads the public/v1/modelscatalog, keeps onlycategory == "text"models, excludes regional or capability variant ids (ids containing:), and derives each model'sreasoning_optionsfrom the model's ownreasoning_effortoptions (or a toggle when onlyenable_thinkingis exposed).This supersedes the stale-closed #2250 (its branch had diverged from
devand could not be reopened); this is a fresh branch off the currentdev.The prior automated review feedback is addressed:
reasoning_options(effort values or a toggle), sourced from the live catalog.currentColorwith no fixed width or height.bun validatepasses, and the sync module is idempotent against the live catalog (a second run reports no changes for the committed seeds).