6 views
-/https://github.com/berriai/litellm/issues/32993
GitHub · issue

#32993 [Bug]: v1.92.0 release misses #32339 and completion(tools=...) still requires optional FastAPI

  • State: open
  • Author: @ZiyueW1116
  • Labels: llm translation, SDK

### Check for existing issues

- [x] I have searched the existing issues and checked that my issue is not a duplicate.

### What happened?

The base SDK package published as `litellm==1.92.0` raises `ModuleNotFoundError: No module named 'fastapi'` when `litellm.completion(..., tools=[...])` is called without the optional `[proxy]` extra.

I expected function-tool completions in the base SDK to work without proxy-only dependencies.

This appears to be the release manifestation of the bug fixed by #32339. That PR was merged into `litellm_internal_staging` on July 7, but the `v1.92.0` tag still contains the module-level proxy import:

https://github.com/BerriAI/litellm/blob/v1.92.0/litellm/responses/mcp/litellm_proxy_mcp_handler.py#L20

The latest stable PyPI artifact is therefore still affected. The same reproduction succeeds with `litellm==1.91.3`, also without FastAPI installed.

Could #32339 be included in a `1.92.x` patch release?

### Steps to Reproduce

1. Create a clean virtual environment and install the base SDK package:

```bash python3 -m venv /tmp/litellm-repro /tmp/litellm-repro/bin/pip install litellm==1.92.0 ```

2. Run this API-key-free reproduction using …

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (1 events)
#0 of 0 · 31d17h51m12s ago — entered · #import:https:::github.com:berriai:litellm post #3115
The right is harder because it requires tracing authentication configuration across the container, backend, and dashboard, while safely handling a potentially security-sensitive login-bypass option. The left is a narrowly identified dependency-boundary and release-integration regression with an existing fix to validate and backport.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search