Skip to content

Conversation

@Mini256
Copy link
Member

@Mini256 Mini256 commented Jan 9, 2026

Summary

Upgrade dependencies to support newer OpenAI models including GPT-5.2 series:

  • litellm: 1.67.41.80.0 (backend), 1.61.111.80.13 (core)
  • llama-index-llms-openai: 0.6.50.6.12
  • llama-index-llms-openai-like: 0.3.30.5.3

Motivation

The current versions don't recognize newer OpenAI models like GPT-5.2 series, causing "Unknown model" errors when using OpenAI-like providers. This update adds support for:

  • GPT-5.2 series models (gpt-5.2-instant, gpt-5.2-thinking, gpt-5.2-pro)
  • Other recent OpenAI model releases
  • Improved compatibility with latest model APIs

Changes

Backend (backend/pyproject.toml)

  • Updated litellm>=1.77.5
  • Updated llama-index-llms-openai>=0.6.12
  • Updated llama-index-llms-openai-like>=0.5.3

Core (core/pyproject.toml)

  • Updated litellm>=1.77.5

Lock Files

  • Regenerated backend/uv.lock and core/uv.lock with uv sync

Testing

  • ✅ Verified litellm imports successfully
  • ✅ Verified OpenAILike integration works
  • ✅ Confirmed versions:
    • Backend litellm: 1.80.0
    • Core litellm: 1.80.13
    • llama-index-llms-openai: 0.6.12
    • llama-index-llms-openai-like: 0.5.3

References

Update litellm dependency from 1.67.4/1.61.11 to 1.77.5+ to add support
for newer OpenAI models including GPT-5.2 series (gpt-5.2-instant,
gpt-5.2-thinking, gpt-5.2-pro) and other recent model releases.

Changes:
- backend: litellm 1.67.4 -> 1.80.0
- core: litellm 1.61.11 -> 1.80.13

This resolves "Unknown model" errors when using newer OpenAI models
with OpenAI-like providers.
@vercel
Copy link
Contributor

vercel bot commented Jan 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
autoflow Error Error Jan 9, 2026 9:27am
2 Skipped Deployments
Project Deployment Review Updated (UTC)
tidb-ai-preview Ignored Ignored Jan 9, 2026 9:27am
tidb-ai-storybook Ignored Ignored Jan 9, 2026 9:27am

@Mini256 Mini256 merged commit d90f10c into main Jan 9, 2026
9 of 10 checks passed
@Mini256 Mini256 deleted the update-litellm-dependencies branch January 9, 2026 09:39
Mini256 added a commit that referenced this pull request Jan 9, 2026
## Summary

Update minimum version requirements for llama-index packages to match
the versions already installed as dependencies of litellm 1.80.0:
- **llama-index-llms-openai**: `0.6.5` → `0.6.12`
- **llama-index-llms-openai-like**: `0.3.3` → `0.5.3`

## Motivation

After upgrading litellm to 1.80.0 in #707, these llama-index packages
were automatically upgraded as transitive dependencies. This PR
explicitly updates the minimum version requirements in `pyproject.toml`
to:
- Document the actual versions being used
- Ensure compatibility with the latest OpenAI models
- Prevent accidental downgrades in future dependency resolutions

## Changes

- Updated `backend/pyproject.toml`:
  - `llama-index-llms-openai>=0.6.12` (was 0.6.5)
  - `llama-index-llms-openai-like>=0.5.3` (was 0.3.3)

## Testing

- ✅ Verified packages are already at these versions (installed as
litellm dependencies)
- ✅ No new packages need to be installed (`uv sync` completed with no
changes)
- ✅ Confirmed versions with `uv pip list`:
  - llama-index-llms-openai: 0.6.12
  - llama-index-llms-openai-like: 0.5.3

## Related PRs

- #707 - Initial litellm upgrade that brought in these versions as
dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants