Skip to content

feat: add Hubris LLM provider - #2199

Open
Aimagine-life wants to merge 2 commits into
stackblitz-labs:mainfrom
Aimagine-life:feat/hubris-provider
Open

feat: add Hubris LLM provider#2199
Aimagine-life wants to merge 2 commits into
stackblitz-labs:mainfrom
Aimagine-life:feat/hubris-provider

Conversation

@Aimagine-life

Copy link
Copy Markdown

Adds Hubris as an LLM provider. Hubris is an OpenAI-compatible LLM gateway billed in Russian rubles — one API key for 500+ models from OpenAI, Anthropic, Google, DeepSeek, Qwen, Z.ai, Moonshot, xAI and MiniMax.

  • app/lib/modules/llm/providers/hubris.tsHubrisProvider extends BaseProvider: five static models (Claude Sonnet 5, Claude Haiku 4.5, GPT-5.6 Luna, Gemini 3.7 Flash, DeepSeek V4 Flash) plus dynamic discovery from https://api.hubris.pw/v1/models (only text chat models that support tools, maxTokenAllowed from context_window); instances via the existing getOpenAILikeModel helper, API key from HUBRIS_API_KEY / provider settings, getApiKeyLinkhttps://hubris.pw/keys.
  • app/lib/modules/llm/registry.ts — export.

Same shape as the Cerebras / Fireworks providers (#2113). Model ids on Hubris use the full vendor/model form, so they are passed through unchanged.

Not included: the .env.example block for HUBRIS_API_KEY — happy to add it if you want the example file to list every provider key.

🤖 Generated with Claude Code

Hubris (https://hubris.pw) is an OpenAI-compatible LLM gateway billed in
Russian rubles. Static list of five popular models plus dynamic discovery
from /v1/models (text chat models with tool support only), instances via
getOpenAILikeModel.
The provider declares apiTokenKey: 'HUBRIS_API_KEY' but the variable was
missing from .env.example, where the other 19 providers are listed. Anyone
setting Hubris up from the file had nowhere to learn the name.

Matched against stackblitz-labs#2113 (Cerebras and Fireworks), the last provider addition
merged here: the provider-specific part of that PR is the provider file, the
registry entry and this one line block.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant