Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

Cache Next.js build cache for ui_build job

yuneng-jiangcc80771835b2
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 8be5498e0f0..6b7fba91285 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -4029,6 +4029,10 @@ jobs:
keys:
- ui-build-deps-v1-{{ checksum "ui/litellm-dashboard/package-lock.json" }}
- ui-build-deps-v1-
+ - restore_cache:
+ keys:
+ - ui-nextjs-cache-v1-{{ checksum "ui/litellm-dashboard/package-lock.json" }}
+ - ui-nextjs-cache-v1-
- run:
name: Install dependencies
command: |
@@ -4043,6 +4047,10 @@ jobs:
command: |
cd ui/litellm-dashboard
source ./build_ui.sh
+ - save_cache:
+ key: ui-nextjs-cache-v1-{{ checksum "ui/litellm-dashboard/package-lock.json" }}
+ paths:
+ - ui/litellm-dashboard/.next/cache
- persist_to_workspace:
root: .
paths: