feat(providers): add Regolo.ai support - #871
Draft
lu-zero wants to merge 2 commits into
Draft
Conversation
lu-zero
force-pushed
the
regolo
branch
2 times, most recently
from
August 26, 2026 17:27
df2a5e1 to
5115be5
Compare
EU-hosted LiteLLM-style proxy speaking the OpenAI protocol. Streams via the generic compat path, lists models from the static catalogue priced from /model/info, and reports usage through GET /key/info (spend vs budget) and GET /global/activity (requests and tokens for the current UTC day, resetting at midnight). Site docs are regenerated to match the manifest defaults.
/spend/logs/v2 recovered from its 500 and answers per-model hourly spend/token rows for an API key. ProviderUsage grows a by_model table (micro-dollar spends keep it Eq); Regolo fills it by summing the day's hourly rows per model_group, ranked by spend. The usage modal renders it under the quota section as model/in/out/total/spend.
lu-zero
marked this pull request as ready for review
August 28, 2026 09:28
lu-zero
marked this pull request as draft
August 28, 2026 09:35
Contributor
Author
|
Since @regolo-ai has a dynamic endpoint with all the information I can simplify a lot. |
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
Adds Regolo.ai as a builtin provider: an EU-hosted LiteLLM-style proxy speaking the OpenAI protocol at
https://api.regolo.ai/v1.maki-providers/src/providers/regolo.rs: wraps the genericOpenAiCompatProvider(streaming, tool calling, reasoning viareasoning_content), 14 chat models with pricing/context from/model/infoProviderKind, manifest, setup priority, aperture gateway compat lists, dynamic-provider dispatchfetch_usageUsage data
GET /key/infoGET /global/activity?start_date=X&end_date=XGET /spend/logs/v2Notes from poking at their proxy:
/global/activityis key-scoped; end date is inclusive/spend/logs/v2was 500ing this morning (naive vs tz-aware datetime mismatch server-side); it works nowTesting
Docs: provider table regenerated (
just gen-docs).