Repository navigation
test(together_ai): stop pinning successor deprecation status - #41635
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
|
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 427d084. Configure here.
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
TLDR
Problem this solves:
How it solves it:
User Flow
This does not apply to a test-only change
Relevant issues
Unblocks the price sync PR #41570, which fails only on this test
Affected release
Linear ticket
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
uv run pytest tests/test_litellm/<your_test_file>.py -v. Leave the suites (make test-unit-*,make test-unit) to CI: it finishes in ~15 minutes where a laptop takes an hour or more@greptileaito re-request a review after pushing changes)Delays in PR merge?
If you're seeing a delay in your PR being merged, ping the LiteLLM Team on Slack (#pr-review).
Screenshots / Proof of Fix
This does not apply to a test-only change. The provider evidence that the old assertion pins an outside fact is the raw Together deprecations page, fetched with
curl -sL "https://docs.together.ai/docs/deprecations.md?x=$RANDOM":Three catalog rows (DeepSeek-R1, DeepSeek-V3, DeepSeek-V3.1) name DeepSeek-V4-Pro-0813 as their successor, so the old test fails as soon as the sync writes that date
Type
Test
Caveats (if any)
Low
metadata.successorpointers to DeepSeek-V4-Pro-0813 are now stale against Together's replacement (DeepSeek-V4.1-Flash); the sync does not maintain that fieldFinal Attestation
Link to Devin session: https://app.devin.ai/sessions/70717d80beaa4b07b193697a69f1e6a7
Open in Devin Desktop: https://app.devin.ai/desktop/session/70717d80beaa4b07b193697a69f1e6a7?variant=devin
Note
Low Risk
Test-only change; production catalog behavior is unchanged and only removes an assertion on provider deprecation state.
Overview
Relaxes the Together AI
metadata.successorcatalog test so it only verifies that every successor key exists inmodel_prices_and_context_window.json, instead of also requiring successors to be undeprecated.The test is renamed to
test_together_successor_metadata_points_at_known_modelsto match that narrower contract. This avoids CI failures when Together deprecates a model that older entries still point at as a successor (e.g. after price sync writesdeprecation_datefrom provider docs).Reviewed by Cursor Bugbot for commit 427d084. Bugbot is set up for automated code reviews on this repo. Configure here.