litellm/docs/my-website
Krish Dholakia 7056d9984e
Custom Code Guardrails UI Playground (#20377)
* feat(guardrails/): allow custom code execution for guardrails

first step in allowing teams to submit custom code for guardrails

* feat: custom_code_guardrail.md

support passing custom code for guardrails

* feat: initial commit adding ui for custom code guardrails

allows users to write guardrails based on custom code

* feat: expose new test custom code guardrail endpoint

allows ui testing playground to sanity check if guardrail is working as expected

* fix: fix linting errors

* fix: fix max recursion check

* fix: fix linting error
2026-02-03 19:57:24 -08:00
..
blog Add blog post: Achieving Sub-Millisecond Proxy Overhead (#20309) 2026-02-02 17:46:36 -08:00
docs Custom Code Guardrails UI Playground (#20377) 2026-02-03 19:57:24 -08:00
img docs Tracing Tools 2026-02-02 19:48:00 -08:00
release_notes docs: Update v1.81.6 release notes - focus on Logs v2 with Tool Call Tracing (#20225) 2026-01-31 19:29:06 -08:00
src docs/blog index page (#20188) 2026-01-31 15:11:45 -08:00
static feat: Add adopters page and data structure (#18605) 2026-01-03 21:51:19 +05:30
.gitignore
.trivyignore security fix 2025-11-14 18:43:41 -08:00
babel.config.js
Dockerfile
docusaurus.config.js fix 2025-12-20 15:21:00 +05:30
index.md
package-lock.json Overriding lodash-es with version 4.17.23 in docs 2026-01-22 12:13:40 -08:00
package.json Overriding lodash-es with version 4.17.23 in docs 2026-01-22 12:13:40 -08:00
README.md
sidebars.js Custom Code Guardrails UI Playground (#20377) 2026-02-03 19:57:24 -08: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.