Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions litellm/proxy/proxy_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -1071,6 +1071,7 @@ def ensure_unique_openapi_operation_ids(
root_path=server_root_path,
lifespan=proxy_startup_event, # type: ignore[reportGeneralTypeIssues]
generate_unique_id_function=_generate_stable_operation_id,
strict_content_type=False,
)

vertex_live_passthrough_vertex_base = VertexBase()
Expand Down
12 changes: 8 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,20 @@ Homepage = "https://litellm.ai"
Repository = "https://github.com/BerriAI/litellm"
Documentation = "https://docs.litellm.ai"

# Optional extras retain exact pins because they are consumed by Docker images
# where exact reproducibility matters. The core SDK uses ranges so downstream
# consumers can coexist with other packages without forced downgrades.
# Exact reproducibility for Docker/CI comes from `uv.lock`. The constraints
# here exist to keep adopters' resolvers (`pip install litellm[proxy]`) from
# drifting onto untested versions. Default to `==`; use a range only when a
# previously-transitive dep is being lifted to a direct constraint, so we
# don't narrow downstream coexistence more than necessary.
# The core SDK (`[project] dependencies`) uses ranges for the same reason.
[project.optional-dependencies]
proxy = [
"gunicorn==23.0.0",
"uvicorn==0.33.0",
"granian==2.5.7",
"uvloop==0.21.0; sys_platform != 'win32'",
"fastapi==0.124.4",
"fastapi==0.133.0",
"starlette>=1.0.1,<2.0",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 ORJSONResponse is deprecated in FastAPI 0.131.0 and will be noisy in logs

FastAPI 0.131.0 (included in this upgrade) deprecated both ORJSONResponse and UJSONResponse. The proxy imports and uses ORJSONResponse extensively across many endpoint files. It still works in 0.133.0 but will emit deprecation warnings at runtime that may flood logs. Since the project already pins orjson==3.11.6 directly, migrating to returning Response(content=orjson.dumps(data), media_type="application/json") (or switching to JSONResponse) is straightforward and avoids the noise. This doesn't need to block the bump, but it's worth tracking.

"backoff==2.2.1",
"pyyaml==6.0.3",
"rq==2.7.0",
Expand Down
19 changes: 11 additions & 8 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading