litellm-mirror/docs/my-website
Krish Dholakia 0dbd663877
fix(cost_calculator.py): handle custom pricing at deployment level fo… (#9855)
* fix(cost_calculator.py): handle custom pricing at deployment level for router

* test: add unit tests

* fix(router.py): show custom pricing on UI

check correct model str

* fix: fix linting error

* docs(custom_pricing.md): clarify custom pricing for proxy

Fixes https://github.com/BerriAI/litellm/issues/8573#issuecomment-2790420740

* test: update code qa test

* fix: cleanup traceback

* fix: handle litellm param custom pricing

* test: update test

* fix(cost_calculator.py): add router model id to list of potential model names

* fix(cost_calculator.py): fix router model id check

* fix: router.py - maintain older model registry approach

* fix: fix ruff check

* fix(router.py): router get deployment info

add custom values to mapped dict

* test: update test

* fix(utils.py): update only if value is non-null

* test: add unit test
2025-04-09 22:13:10 -07:00
..
docs fix(cost_calculator.py): handle custom pricing at deployment level fo… (#9855) 2025-04-09 22:13:10 -07:00
img [Feat SSO] Debug route - allow admins to debug SSO JWT fields (#9835) 2025-04-09 15:29:35 -07:00
release_notes docs: cleanup 2025-04-06 14:42:35 -07:00
src fix: transform_request.tsx 2025-04-09 17:50:13 -07:00
static v1 2023-08-17 15:31:20 -07:00
.gitignore Add docs to export logs to Laminar (#6674) 2024-11-11 12:15:47 -08:00
babel.config.js updating docs 2023-08-12 11:30:32 -07:00
Dockerfile fix docs warning (#7419) 2024-12-25 16:42:14 -08:00
docusaurus.config.js docs(index.md): add release note for anthropic update 2025-03-05 23:50:26 -08:00
index.md fix keys 2023-08-17 16:13:52 -07:00
package-lock.json Revert "docs: initial commit adding api playground to docs" 2025-04-09 17:50:13 -07:00
package.json Revert "docs: initial commit adding api playground to docs" 2025-04-09 17:50:13 -07:00
README.md updating docs 2023-08-12 11:30:32 -07:00
sidebars.js Revert "docs: initial commit adding api playground to docs" 2025-04-09 17:50: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.