Skip to content

Commit 1d95595

Browse files
committed
Merge remote-tracking branch 'origin' into litellm_non_root_docker_logo_fix
2 parents 2d9acb2 + a2688c7 commit 1d95595

File tree

844 files changed

+46535
-8299
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

844 files changed

+46535
-8299
lines changed

.circleci/config.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3496,8 +3496,13 @@ jobs:
34963496
command: |
34973497
npx playwright test e2e_ui_tests/ --reporter=html --output=test-results
34983498
no_output_timeout: 120m
3499-
- store_test_results:
3499+
- store_artifacts:
35003500
path: test-results
3501+
destination: playwright-results
3502+
3503+
- store_artifacts:
3504+
path: playwright-report
3505+
destination: playwright-report
35013506

35023507
test_nonroot_image:
35033508
machine:

Dockerfile

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Base image for building
2-
ARG LITELLM_BUILD_IMAGE=cgr.dev/chainguard/python:latest-dev
2+
ARG LITELLM_BUILD_IMAGE=cgr.dev/chainguard/wolfi-base
33

44
# Runtime image
5-
ARG LITELLM_RUNTIME_IMAGE=cgr.dev/chainguard/python:latest-dev
5+
ARG LITELLM_RUNTIME_IMAGE=cgr.dev/chainguard/wolfi-base
66
# Builder stage
77
FROM $LITELLM_BUILD_IMAGE AS builder
88

@@ -12,11 +12,9 @@ WORKDIR /app
1212
USER root
1313

1414
# Install build dependencies
15-
RUN apk add --no-cache gcc python3-dev openssl openssl-dev
15+
RUN apk add --no-cache bash gcc py3-pip python3 python3-dev openssl openssl-dev
1616

17-
18-
RUN pip install --upgrade pip>=24.3.1 && \
19-
pip install build
17+
RUN python -m pip install build
2018

2119
# Copy the current directory contents into the container at /app
2220
COPY . .
@@ -48,10 +46,7 @@ FROM $LITELLM_RUNTIME_IMAGE AS runtime
4846
USER root
4947

5048
# Install runtime dependencies
51-
RUN apk add --no-cache openssl tzdata nodejs npm
52-
53-
# Upgrade pip to fix CVE-2025-8869
54-
RUN pip install --upgrade pip>=24.3.1
49+
RUN apk add --no-cache bash openssl tzdata nodejs npm python3 py3-pip
5550

5651
WORKDIR /app
5752
# Copy the current directory contents into the container at /app

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,6 @@ echo 'LITELLM_MASTER_KEY="sk-1234"' > .env
274274
# password generator to get a random hash for litellm salt key
275275
echo 'LITELLM_SALT_KEY="sk-1234"' >> .env
276276

277-
source .env
278-
279277
# Start
280278
docker compose up
281279
```
@@ -348,7 +346,7 @@ curl 'http://0.0.0.0:4000/key/generate' \
348346
| [Fireworks AI (`fireworks_ai`)](https://docs.litellm.ai/docs/providers/fireworks_ai) |||| | | | | | | |
349347
| [FriendliAI (`friendliai`)](https://docs.litellm.ai/docs/providers/friendliai) |||| | | | | | | |
350348
| [Galadriel (`galadriel`)](https://docs.litellm.ai/docs/providers/galadriel) |||| | | | | | | |
351-
| [GitHub Copilot (`github_copilot`)](https://docs.litellm.ai/docs/providers/github_copilot) |||| | | | | | | |
349+
| [GitHub Copilot (`github_copilot`)](https://docs.litellm.ai/docs/providers/github_copilot) |||| | | | | | | |
352350
| [GitHub Models (`github`)](https://docs.litellm.ai/docs/providers/github) |||| | | | | | | |
353351
| [Google - PaLM](https://docs.litellm.ai/docs/providers/palm) |||| | | | | | | |
354352
| [Google - Vertex AI (`vertex_ai`)](https://docs.litellm.ai/docs/providers/vertex) |||||| | | | | |

ci_cd/security_scans.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ run_grype_scans() {
7676
"GHSA-4xh5-x5gv-qwph"
7777
"CVE-2025-8291" # no fix available as of Oct 11, 2025
7878
"GHSA-5j98-mcp5-4vw2"
79+
"CVE-2025-13836" # Python 3.13 HTTP response reading OOM/DoS - no fix available in base image
80+
"CVE-2025-12084" # Python 3.13 xml.dom.minidom quadratic algorithm - no fix available in base image
7981
)
8082

8183
# Build JSON array of allowlisted CVE IDs for jq

cookbook/misc/RELEASE_NOTES_GENERATION_INSTRUCTIONS.md

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,93 @@ This release has a known issue...
404404
- **New Providers** - Provider name, supported endpoints, description
405405
- **New LLM API Endpoints** (optional) - Endpoint, method, description, documentation link
406406
- Only include major new provider integrations, not minor provider updates
407+
- **IMPORTANT**: When adding new providers, also update `provider_endpoints_support.json` in the repository root (see Section 13)
408+
409+
### 12. Section Header Counts
410+
411+
**Always include counts in section headers for:**
412+
- **New Providers** - Add count in parentheses: `### New Providers (X new providers)`
413+
- **New LLM API Endpoints** - Add count in parentheses: `### New LLM API Endpoints (X new endpoints)`
414+
- **New Model Support** - Add count in parentheses: `#### New Model Support (X new models)`
415+
416+
**Format:**
417+
```markdown
418+
### New Providers (4 new providers)
419+
420+
| Provider | Supported LiteLLM Endpoints | Description |
421+
| -------- | --------------------------- | ----------- |
422+
...
423+
424+
### New LLM API Endpoints (2 new endpoints)
425+
426+
| Endpoint | Method | Description | Documentation |
427+
| -------- | ------ | ----------- | ------------- |
428+
...
429+
430+
#### New Model Support (32 new models)
431+
432+
| Provider | Model | Context Window | Input ($/1M tokens) | Output ($/1M tokens) | Features |
433+
| -------- | ----- | -------------- | ------------------- | -------------------- | -------- |
434+
...
435+
```
436+
437+
**Counting Rules:**
438+
- Count each row in the table (excluding the header row)
439+
- For models, count each model entry in the pricing table
440+
- For providers, count each new provider added
441+
- For endpoints, count each new API endpoint added
442+
443+
### 13. Update provider_endpoints_support.json
444+
445+
**When adding new providers or endpoints, you MUST also update `provider_endpoints_support.json` in the repository root.**
446+
447+
This file tracks which endpoints are supported by each LiteLLM provider and is used to generate documentation.
448+
449+
**Required Steps:**
450+
1. For each new provider added to the release notes, add a corresponding entry to `provider_endpoints_support.json`
451+
2. For each new endpoint type added, update the schema comment and add the endpoint to relevant providers
452+
453+
**Provider Entry Format:**
454+
```json
455+
"provider_slug": {
456+
"display_name": "Provider Name (`provider_slug`)",
457+
"url": "https://docs.litellm.ai/docs/providers/provider_slug",
458+
"endpoints": {
459+
"chat_completions": true,
460+
"messages": true,
461+
"responses": true,
462+
"embeddings": false,
463+
"image_generations": false,
464+
"audio_transcriptions": false,
465+
"audio_speech": false,
466+
"moderations": false,
467+
"batches": false,
468+
"rerank": false,
469+
"a2a": true
470+
}
471+
}
472+
```
473+
474+
**Available Endpoint Types:**
475+
- `chat_completions` - `/chat/completions` endpoint
476+
- `messages` - `/messages` endpoint (Anthropic format)
477+
- `responses` - `/responses` endpoint (OpenAI/Anthropic unified)
478+
- `embeddings` - `/embeddings` endpoint
479+
- `image_generations` - `/image/generations` endpoint
480+
- `audio_transcriptions` - `/audio/transcriptions` endpoint
481+
- `audio_speech` - `/audio/speech` endpoint
482+
- `moderations` - `/moderations` endpoint
483+
- `batches` - `/batches` endpoint
484+
- `rerank` - `/rerank` endpoint
485+
- `ocr` - `/ocr` endpoint
486+
- `search` - `/search` endpoint
487+
- `vector_stores` - `/vector_stores` endpoint
488+
- `a2a` - `/a2a/{agent}/message/send` endpoint (A2A Protocol)
489+
490+
**Checklist:**
491+
- [ ] All new providers from release notes are added to `provider_endpoints_support.json`
492+
- [ ] Endpoint support flags accurately reflect provider capabilities
493+
- [ ] Documentation URL points to correct provider docs page
407494

408495
## Example Command Workflow
409496

0 commit comments

Comments
 (0)