litellm/docs/my-website
Ishaan Jaffer c009f4f18f fix(tag_regex): address greptile review - security docs, strict-mode enforcement, validation order
- Strengthen security note in tag_routing.md: explicitly state User-Agent
  is client-supplied and can be set to any value; frame tag_regex as a
  traffic classification hint, not an access-control mechanism
- Move tag_regex startup validation before _add_deployment() so an invalid
  pattern never leaves partial router state
- Enforce match_any=False strict-tag policy: when a deployment has both
  tags and tag_regex and the strict tag check fails, skip the regex fallback
  rather than silently bypassing the operator's intent
- Extract per-deployment match logic into _match_deployment() helper to
  keep get_deployments_for_tag() readable
- Add two new tests: strict-mode blocks regex fallback, regex-only
  deployment still matches under match_any=False
2026-03-13 20:18:36 -07:00
..
blog Improve doc for WebRTC 2026-03-12 22:45:36 +05:30
docs fix(tag_regex): address greptile review - security docs, strict-mode enforcement, validation order 2026-03-13 20:18:36 -07:00
img Improve doc for WebRTC 2026-03-12 22:41:39 +05:30
release_notes Merge pull request #23413 from BerriAI/docs_policyy_builder 2026-03-11 19:19:15 -07:00
src Fix the live tester 2026-03-12 22:14:08 +05:30
static fix: prompt registry 2026-02-18 00:34:54 +05:30
.gitignore Inkeep searchbar and chat added to the Docs (#12030) 2025-06-26 10:13:42 -07:00
.trivyignore security fix 2025-11-14 18:43:41 -08:00
babel.config.js updating docs 2023-08-12 11:30:32 -07:00
Dockerfile fix docs warning (#7419) 2024-12-25 16:42:14 -08:00
docusaurus.config.js fix 2025-12-20 15:21:00 +05:30
index.md fix keys 2023-08-17 16:13:52 -07:00
package-lock.json CircleCI test stability (#23055) 2026-03-07 15:19:39 -08:00
package.json Fix CVEs: bump tar/minimatch/pypdf + harden Docker SBOM patching (#23082) 2026-03-07 18:31:27 -08:00
README.md updating docs 2023-08-12 11:30:32 -07:00
sidebars.js docs: merge tag_regex section into tag_routing.md, remove standalone page 2026-03-13 20:13:32 -07:00

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

$ yarn

Local Development

$ yarn start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

$ yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

Using SSH:

$ USE_SSH=true yarn deploy

Not using SSH:

$ GIT_USER=<Your GitHub username> yarn deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.