litellm/docs/my-website
Marcelo Díaz 094ce8f772
feat(gemini): Add custom TTL support for context caching (#9810) (#12541)
- Add ttl parameter to cache_control for Gemini models
- Support Google's TTL format (e.g., '3600s', '7200s')
- Implement robust TTL extraction and validation
- Extract TTL before system message transformation to handle all cases
- Add comprehensive test suite with 17 test cases in tests/test_litellm/
- Update documentation with TTL usage examples
- Maintain backward compatibility with existing cache_control usage

Fixes #9810
2025-07-14 22:30:54 -07:00
..
docs feat(gemini): Add custom TTL support for context caching (#9810) (#12541) 2025-07-14 22:30:54 -07:00
img Control Plane + Data Plane support (#12601) 2025-07-14 21:31:56 -07:00
release_notes Updated release notes (#12594) 2025-07-14 17:03:11 -07:00
src docs add slack support 2025-06-30 10:45:37 -07:00
static Litellm release notes 07 12 2025 (#12563) 2025-07-12 19:31:13 -07:00
.gitignore Inkeep searchbar and chat added to the Docs (#12030) 2025-06-26 10:13:42 -07:00
babel.config.js
Dockerfile fix docs warning (#7419) 2024-12-25 16:42:14 -08:00
docusaurus.config.js docs slack support 2025-06-30 10:57:10 -07:00
index.md
package-lock.json docs update 2025-06-26 15:32:33 -07:00
package.json Inkeep searchbar and chat added to the Docs (#12030) 2025-06-26 10:13:42 -07:00
README.md
sidebars.js Control Plane + Data Plane support (#12601) 2025-07-14 21:31:56 -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.