fix: bump litellm lower bound to >=1.77.0#417
Merged
Conversation
…ced to litellm.types.llms.openai
Contributor
Greptile SummaryThis PR tightens the litellm lower bound in
|
| Filename | Overview |
|---|---|
| packages/data-designer-engine/pyproject.toml | Bumps litellm lower bound from >=1.73.6 to >=1.77.0 to match the minimum version that provides ImageURLListItem; upper bound <1.80.12 unchanged and resolved lock version (1.80.11) satisfies the new range. |
| uv.lock | requires-dist entry for data-designer-engine updated to reflect the new litellm specifier >=1.77.0,<1.80.12; resolved package version remains 1.80.11, which is valid within the new bounds. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[install data-designer-engine] --> B{litellm version resolved}
B -->|Before fix 1.73.6 to 1.76.x| C[ImportError - ImageURLListItem missing]
B -->|After fix 1.77.0 to 1.80.11| D[Import succeeds - ImageURLListItem available]
D --> E[patch_image_url_list_item runs at startup]
E --> F[ImageURLListItem.index made optional for OpenRouter compat]
Last reviewed commit: cac5397
eric-tramel
approved these changes
Mar 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
>=1.73.6to>=1.77.0in the engine package.ImageURLListItem(imported inlitellm_overrides.py) was introduced in litellm 1.77.0 — the previous lower bound allowed resolving versions (1.73.6–1.76.x) that don't have this class, causing anImportErrorat runtime.This version bump should have been included in #385, which added the
ImageURLListItemimport.Test plan
from litellm.types.llms.openai import ImageURLListItemworks with litellm 1.77.0test_litellm_overrides.pytests pass