mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-21 04:19:24 +00:00
* feat(guardrails): Add deduplication and session tracking - Implement deduplication logic to prevent duplicate scans (via call_id; add _check_and_mark_scanned) caused by LiteLLM callback system - Add session tracking using litellm_trace_id as AI Session ID for Prisma AIRS SCM logging - Extract helper methods _extract_prompt_from_request maintainability - Use httpxSpecialProvider import (LoggingCallback -> GuardrailCallback) - Add comprehensive tests for deduplication and session tracking (7 new tests) - Update documentation with multi-turn conversation tracking examples * docs: update PANW Prisma AIRS multi-turn conversation example to use industry-standard terminology - Clearer example for conversation tracking - Updated terminology from 'AI Session ID' to 'Prisma AIRS AI Session ID' for clarity * fix: remove unused asyncio import * fix: correct mypy type ignore comment
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.