From 2b74fac49b2bacab8551399eb5cbe2dd09c3b6f6 Mon Sep 17 00:00:00 2001 From: Konstantin Date: Sat, 5 Sep 2026 01:57:58 +0300 Subject: [PATCH 1/2] docs: add Hubris provider example Closes #7276 --- docs/edge/en/concepts/llms.mdx | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/edge/en/concepts/llms.mdx b/docs/edge/en/concepts/llms.mdx index 02fb973140..e0bc5cd835 100644 --- a/docs/edge/en/concepts/llms.mdx +++ b/docs/edge/en/concepts/llms.mdx @@ -1155,6 +1155,29 @@ In this section, you'll find detailed examples that help you select, configure, uv add 'crewai[litellm]' ``` + + + Set the following environment variables in your `.env` file: + ```toml Code + HUBRIS_API_KEY= + ``` + + Example usage in your CrewAI project: + ```python Code + llm = LLM( + model="anthropic/claude-sonnet-5", + custom_openai=True, + base_url="https://api.hubris.pw/v1", + api_key=HUBRIS_API_KEY + ) + ``` + + + Hubris is a ruble-billed, OpenAI-compatible LLM gateway giving access to 400+ + models (OpenAI, Anthropic, Google, and more) behind one API key. See the full + model catalog at [hubris.pw/models](https://hubris.pw/models). + + ## Streaming Responses From fd4f43a46de44bc6937e0204d9141f809ed2791b Mon Sep 17 00:00:00 2001 From: Konstantin Date: Sat, 5 Sep 2026 21:44:08 +0300 Subject: [PATCH 2/2] docs: read HUBRIS_API_KEY from the environment in the Hubris example --- docs/edge/en/concepts/llms.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/edge/en/concepts/llms.mdx b/docs/edge/en/concepts/llms.mdx index e0bc5cd835..2fce85111f 100644 --- a/docs/edge/en/concepts/llms.mdx +++ b/docs/edge/en/concepts/llms.mdx @@ -1164,11 +1164,13 @@ In this section, you'll find detailed examples that help you select, configure, Example usage in your CrewAI project: ```python Code + import os + llm = LLM( model="anthropic/claude-sonnet-5", custom_openai=True, base_url="https://api.hubris.pw/v1", - api_key=HUBRIS_API_KEY + api_key=os.environ["HUBRIS_API_KEY"] ) ```