Skip to content

docs(providers): add the SCX.ai provider page - #808

Merged
mateo-berri merged 3 commits into
BerriAI:mainfrom
SouthernCrossAI:litellm_scx_ai_provider_docs
Aug 21, 2026
Merged

docs(providers): add the SCX.ai provider page#808
mateo-berri merged 3 commits into
BerriAI:mainfrom
SouthernCrossAI:litellm_scx_ai_provider_docs

Conversation

@bhuvan2134686

@bhuvan2134686 bhuvan2134686 commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Adds the provider page for the scx-ai route, which BerriAI/litellm#34752 registers as a JSON-configured OpenAI-compatible provider

The page covers the two chat models on the route, scx-ai/GLM-5.2 and scx-ai/Qwen3.8-Max, with their context and output limits, and shows SDK plus proxy usage for streaming, function calling, structured output and image input. Every capability listed was checked against the live endpoint rather than taken from a model listing

It also records two behaviours a caller would otherwise hit by surprise: max_completion_tokens is sent upstream as max_tokens, and temperature is accepted in [0.0, 2.0) with 2.0 itself rejected, so LiteLLM clamps to 1.99

This is also a prerequisite for the main PR. The documentation and code-quality jobs there run tests/documentation_tests/test_env_keys.py, which checks this repo out and fails on SCX_API_KEY being read under ./litellm but mentioned nowhere in the docs. Verified locally that the page clears the gate:

$ python ./tests/documentation_tests/test_env_keys.py
Every environment variable read under ./litellm is documented

I work at SCX.ai


Note

Low Risk
Documentation-only: new provider page, sidebar entry, and env-var listings. No runtime or security logic.

Overview
Adds a provider page for the scx-ai/ route covering scx-ai/GLM-5.2 and scx-ai/Qwen3.8-Max, with SDK and proxy examples for streaming, tools, JSON schema, and vision.

Documents SCX_API_KEY / SCX_API_BASE (also listed in proxy env-var reference) and two upstream quirks: max_completion_tokens is sent as max_tokens, and temperature is clamped to 1.99 because SCX rejects 2.0.

Links the page from the providers sidebar.

Reviewed by Cursor Bugbot for commit eb93d35. Bugbot is set up for automated code reviews on this repo. Configure here.

Documents the scx-ai route ahead of BerriAI/litellm#34752, which
registers SCX.ai as a JSON-configured OpenAI-compatible provider

Covers the two chat models on the route, GLM-5.2 and Qwen3.8 Max, with
their context and output limits, plus SDK and proxy usage for streaming,
function calling, structured output and image input. Every capability
listed was checked against the live endpoint

Also records two behaviours worth knowing: max_completion_tokens is sent
upstream as max_tokens, and temperature is accepted in [0.0, 2.0) with
2.0 itself rejected, so LiteLLM clamps to 1.99

The page also gives SCX_API_KEY somewhere to live, which the env-key
documentation gate in the main repo requires before that PR can go green
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@vercel

vercel Bot commented Aug 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
litellm Ready Ready Preview Aug 15, 2026 1:42am

Request Review

Add SCX_API_KEY and SCX_API_BASE to the environment variables reference
table so the credential names are discoverable from the proxy settings
page, matching how the other providers list theirs.
@bhuvan2134686

Copy link
Copy Markdown
Contributor Author

This is the docs half of BerriAI/litellm#34752, and it is currently what gates that PR from going green. The code-quality and documentation jobs on #34752 check out litellm-docs main into docs/my-website, so test_env_keys.py cannot see the SCX.ai page until this merges, and it fails on SCX_API_KEY being undocumented.

Latest push adds SCX_API_KEY and SCX_API_BASE to the environment variables reference table in docs/proxy/config_settings.md, so the credentials appear there alongside the other providers rather than only on the provider page. Verified locally by running tests/documentation_tests/test_env_keys.py from the litellm repo with docs/my-website pointed at this branch; it reports every environment variable documented, and the same run against main reproduces the failure.

Could someone take a look when there is a chance. Happy to adjust anything on the page.

@bhuvan2134686

Copy link
Copy Markdown
Contributor Author

@mubashir1osmani @ryan-crabbe-berri @tin-berri bumping this one, it is small and it is a hard gate on another PR. Three files, 238 additions, no deletions, a single provider page plus the sidebar and index entries.

BerriAI/litellm#34752 cannot go green until this merges. .github/workflows/test-code-quality.yml in the code repo checks out BerriAI/litellm-docs into docs/my-website with no ref:, so it always reads litellm-docs main, and tests/documentation_tests/test_env_keys.py then fails on SCX_API_KEY because the page documenting it only exists on this branch. That makes the code-quality and documentation jobs on #34752 fail for a reason no commit on #34752 can fix. Everything else there is green, 77 of 79 checks pass.

I cannot request a reviewer from a fork, the API returns 404, so this comment is the only ping available. Happy to rebase or trim if anything here needs changing.

@mateo-berri

Copy link
Copy Markdown
Collaborator

bugbot run

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit eb93d35. Configure here.

@mateo-berri mateo-berri left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for the contribution!

@mateo-berri
mateo-berri merged commit 3d2e5ae into BerriAI:main Aug 21, 2026
3 checks passed
deepanshululla pushed a commit to deepanshululla/litellm-docs that referenced this pull request Aug 21, 2026
The link pointed at a heading that doesn't exist; point it at the actual
usage section instead. Pre-existing bug on main (added in BerriAI#808), unrelated
to this PR, but it hard-fails every PR's Docusaurus build right now since
onBrokenAnchors is set to throw.
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.

2 participants