Repository navigation
docs(decisions): add a site banner, link each provider out, and cover Laya and Nimble - #2175
Merged
Merged
Conversation
… Laya and Nimble The banner reads "Decisions API is here. Call Jev, Clef or any decision model through one /v1/decisions endpoint." The whole bar links to /docs/decisions and has a close button. It uses the logo blue in both themes; its styles are scoped to the outer bar so the older banner rules do not tint the inner placeholder. The provider table now links each provider to its own decisions docs, and a short section explains that Laya and Bespoke Nimble are self-hosted and use /laya/v1/systemone and /bespoke/v1/systemone, not /v1/decisions, with a link to the Auto Router classifier guide.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
bugbot run |
There was a problem hiding this comment.
✅ 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 5b982af. Configure here.
This branch was successfully 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.
Follow-up to #2141. Adds a site-wide banner for the Decisions API, links each provider in the
/docs/decisionstable to its own decisions docs, and covers Laya and Bespoke Nimble, which were asked about but are not/v1/decisionsproviders.Hold the merge until a release ships the routes. No published release contains BerriAI/litellm#45184 or #45214 yet (latest are
v1.104.1andv1.105.0-rc.2, both cut before they merged), and the page still says the routes are coming. Whenv1.104.2or the next release candidate is out, the "not in a published release yet" note on the page should come out in the same change.Banner. "Decisions API is here. Call Jev, Clef or any decision model through one /v1/decisions endpoint." The whole bar links to
/docs/decisionsand has a close button that stays closed across pages (iddecisions_api_2026_10). It is a soft tint of the theme accent with the text in the accent color, so it follows the theme: blue in light, teal in dark, with text contrast of 9.4:1 and 6.6:1. The styles are scoped to the outer bar with.theme-announcement-bar:has(a.announcement-link), because the older banner rules match every element whose class containsannouncementBar, and they tinted the inner placeholder strip and kept it from being clickable.Provider links. OpenAI, TypeSafe Jev, Perplexity, OpenRouter, Cloudflare Clef, and Strands Decider each link to their decisions docs (the same links that were in an earlier commit on #2141; all answer 200). The Cloudflare row also names
cloudflare/clef-flash.Laya and Nimble. A short "Self-hosted Laya and Nimble" section says they are self-hosted, not providers for
/v1/decisionsor/v1/systemone, lists their own routes (/laya/v1/systemone,/bespoke/v1/systemone) and settings, and links to the existing "Call a native decision API" section of the Auto Router classifier guide, which has the request examples.Checked in the local dev server: clicking anywhere on the bar, including both edges, opens the page; the close button hides it on later pages; no horizontal scroll at 390 px.
scripts/check-docs.py docsandnpm run lint:writingpass, and the new internal links and the anchor resolve.Banner
Provider table with links out
Self-hosted Laya and Nimble
Note
Low Risk
Documentation and docs-site styling only; no runtime or API code changes.
Overview
Adds a site-wide Docusaurus announcement bar promoting the Decisions API (
decisions_api_2026_10), with the full bar linking to/docs/decisionsand scoped CSS so the close control still works in light and dark themes.On
docs/decisions, each supported provider in the table now links to that vendor’s decisions docs; Cloudflare is labeled Clef and documentscloudflare/clef-flash. A new Self-hosted Laya and Nimble section clarifies they use dedicated gateway routes (/laya/v1/systemone,/bespoke/v1/systemone) rather than the unified/v1/decisionsprovider list, and points readers to the Auto Router native decision API guide.Reviewed by Cursor Bugbot for commit 5b982af. Bugbot is set up for automated code reviews on this repo. Configure here.