litellm/docs/my-website
Josh Bonczkowski 4f34b6eaae Address reviewer feedback on New Relic integration.
- Fix _record_error_metric to use app.record_custom_metric() instead of
  module-level newrelic.agent.record_custom_metric() so the call works
  outside of an active transaction context
- Remove unreachable except ImportError block in _get_trace_context
- Update stale "23 hours" comment to "27 hours" (matches 97200s threshold)
- Remove commented-out debug code from _process_success
- Fix docs typo: NEW_RELIC_CUSTOM_INSIGHTS_EVENTS_MAX_SAMPLES_STOREDA ->
  NEW_RELIC_CUSTOM_INSIGHTS_EVENTS_MAX_SAMPLES_STORED
- Update TestRecordErrorMetric to verify app.record_custom_metric call

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-13 12:09:15 -04:00
..
blog Add embedding model documentation 2026-03-11 11:02:49 +05:30
docs Address reviewer feedback on New Relic integration. 2026-03-13 12:09:15 -04:00
img Add Retool Assist tutorial with LiteLLM Proxy to docs (#21952) 2026-03-11 13:17:08 -07:00
release_notes Rename 'Team-Based Guardrails' to 'Team Bring-Your-Own Guardrails' (#23307) 2026-03-10 17:49:09 -07:00
src Merge pull request #19280 from Chesars/docs/update-main-page-index 2026-03-04 18:38:04 -03:00
static fix: prompt registry 2026-02-18 00:34:54 +05:30
.gitignore Inkeep searchbar and chat added to the Docs (#12030) 2025-06-26 10:13:42 -07:00
.trivyignore security fix 2025-11-14 18:43:41 -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 fix 2025-12-20 15:21:00 +05:30
index.md fix keys 2023-08-17 16:13:52 -07:00
package-lock.json CircleCI test stability (#23055) 2026-03-07 15:19:39 -08:00
package.json Fix CVEs: bump tar/minimatch/pypdf + harden Docker SBOM patching (#23082) 2026-03-07 18:31:27 -08:00
README.md updating docs 2023-08-12 11:30:32 -07:00
sidebars.js Add Retool Assist tutorial with LiteLLM Proxy to docs (#21952) 2026-03-11 13:17:08 -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.