Repository navigation
examples: add Hubris LLM example (OpenAI-compatible gateway) - #1525
Open
Aimagine-life wants to merge 2 commits into
Open
Aimagine-life wants to merge 2 commits into
Aimagine-life wants to merge 2 commits into
Conversation
Aimagine-life
force-pushed
the
examples/hubris-llm-example
branch
from
September 6, 2026 00:14
ea1f990 to
953b9d8
Compare
Author
|
Hi! A gentle nudge on this one: it has been open for about three weeks, still merges cleanly and CI is green. If anything should be done differently, I'm happy to adjust. Thanks for your time! |
Switch Hubris URLs from hubris.pw and api.hubris.pw to hubris.pro and api.hubris.pro.
This branch has not been deployed
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
examples/hubris-llm-example, mirroringexamples/openrouter-llm-example: thellms/openaipackage withopenai.WithBaseURL("https://api.hubris.pro/v1")andHUBRIS_API_KEY.Hubris is an OpenAI-compatible LLM gateway billed in Russian rubles — one API key for 500+ models from OpenAI, Anthropic, Google, DeepSeek, Qwen and others; model ids use the
vendor/modelform (anthropic/claude-haiku-4.5is the example default). Same flags as the OpenRouter example (-model,-prompt,-temp,-stream);go.mod/go.sumcopied from that example since the imports are identical.🤖 Generated with Claude Code