litellm/docs/my-website
oroxenberg a75e75ae1a
feat(lasso): Upgrade to Lasso API v3 and fix ULID generation (#15941)
* 1. add v3 classify
2. add new classifix for masking
3. support same id for the conversation for pre and post
working with duplicates

* clean code, remove some debug and run tests

* update liter errors

* improvment for Code Organization, httpx Error Handling Specificity, Logging Improvements and Type

* transfer test test_lasso_guard_config to the new location

* Fix type hints and linting errors in lasso.py

- Add type: ignore for httpx module when None
- Fix return type issues in _handle_classification and _handle_masking
- Ensure masked_messages is not None before passing to _apply_masking_to_model_response
- Convert LassoResponse to dict for _log_masking_applied call

* feat(lasso): Upgrade to Lasso API v3 and fix ULID generation

- Update Lasso API endpoints from v2 to v3 (/gateway/v3/classify)
- Update masking endpoints from v1 to v3 (/gateway/v3/classifix)
- Fix ULID generation: use ulid.new() instead of ULID() constructor
- Resolve MemoryView error that occurred with incorrect ULID usage

Tested with real proxy server and verified:
- Malicious content (jailbreak) properly blocked
- Safe content passes through guardrail
- PII detection and masking works correctly
- No ULID generation errors

* docs(lasso): Add ulid-py>=1.1.0 dependency prerequisite

Add Prerequisites section documenting the required ulid-py package
(version 1.1.0 or higher) for Lasso guardrail conversation tracking.

* update docs with the right api_key format
2025-10-26 10:08:52 -07:00
..
docs feat(lasso): Upgrade to Lasso API v3 and fix ULID generation (#15941) 2025-10-26 10:08:52 -07:00
img docs fix 2025-10-11 18:21:35 -07:00
release_notes 1-79-0 docs (#15936) 2025-10-25 18:04:04 -07:00
src docs: add OpenAI responses api (#15868) 2025-10-23 18:25:59 -07:00
static Update docs to reflect session management for all models (#14914) 2025-09-25 15:45:13 -07:00
.gitignore
babel.config.js
Dockerfile
docusaurus.config.js [Docs] Add docs on how router / cooldowns work (#13444) 2025-08-08 15:13:37 -07:00
index.md
package-lock.json Bump tar-fs from 3.0.10 to 3.1.1 in /docs/my-website (#14872) 2025-09-24 16:13:13 -07:00
package.json security fix 2025-08-20 08:35:59 -07:00
README.md
sidebars.js fix(opentelemetry.py): fix issue where headers were not being split correctly + feat(bedrock): add titan image generations w/ cost tracking (#15916) 2025-10-25 13:45:13 -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.