mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-02 01:28:38 +00:00
|
Some checks failed
LiteLLM Rust DB / db-queries (push) Has been cancelled
LiteLLM Rust / rust-lint (push) Has been cancelled
LiteLLM Rust / rust-test (push) Has been cancelled
LiteLLM Rust / rust-wheel (push) Has been cancelled
Terraform Modules / fmt, validate, test (aws) (push) Has been cancelled
Terraform Modules / fmt, validate, test (gcp) (push) Has been cancelled
Diataxis-style docs under docs/architecture/router describing the router as the Rust core litellm-router-core runs it on nate_router_step6_rust_core_v2: deployments and model groups, name resolution, teams and access, the filter chain, strategies, routing groups and sub-routers, retries, fallbacks and cooldowns, shared state, and the core and its host. Claude-Session: https://claude.ai/code/session_013FDwtmdtKxVdjQX8WK43iK |
||
|---|---|---|
| .. | ||
| diagram-style.css | ||
| diataxis-quadrants.svg | ||
| README.md | ||
Diagrams
The architecture docs use hand-laid-out SVGs instead of Mermaid, so each diagram fits a docs column without wasted space.
- Every SVG embeds diagram-style.css verbatim in one
<style>element. The stylesheet is based on the litellm-docs theme (Geist and Geist Mono, the accent#0117beand its greys) and switches to the dark palette withprefers-color-scheme - Use only its classes, with no inline styles or hard-coded colors. The box
classes mean:
box corethe Rust router core,box hostthe host and Python side,box storecaches and Redis,box warnerrors,box okresults, andbox decisiona question - Keep the
viewBoxat most 880 wide and as short as the content allows. Start with thecanvasrect, and give the root elementrole="img"and a<title> - Edit a diagram by changing its SVG directly. A page's diagrams live in an
img/folder next to it