litellm/litellm-rust/crates/model-catalog
Yujong Lee 5052dd3536 refactor(model-catalog): typed prices, one error type, layers and fetch policy
Moves the catalog rules the later stack needs into the model-catalog and cost crates as pure functions. That covers parsing into typed prices, one located error type with fatal and rejects_row policies, served and written views, per-row validation, layers composed from registrations, diffed direct writes and tombstones, and a source-neutral sans-IO retry policy over an embedded registry. Nothing calls the new code yet

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 18:57:14 -07:00
..
src refactor(model-catalog): typed prices, one error type, layers and fetch policy 2026-10-25 18:57:14 -07:00
tests refactor(model-catalog): typed prices, one error type, layers and fetch policy 2026-10-25 18:57:14 -07:00
AGENTS.md refactor(model-catalog): typed prices, one error type, layers and fetch policy 2026-10-25 18:57:14 -07:00
Cargo.toml refactor(model-catalog): typed prices, one error type, layers and fetch policy 2026-10-25 18:57:14 -07:00