Repository navigation
test: drop the dall-e-3 azure cost tracking test that pinned a removed cost map key - #42636
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
…d cost map key Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
|
bugbot run |
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 75aec7d. Configure here.
|
Comments Outside DiffThese findings sit on lines the diff does not cover, so they could not be posted inline. Each one leaves this list once its file changes.
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Superseded by #42631, which repointed this same test at gpt-image-2 on main. Nothing left to merge here |
TLDR
Problem this solves:
dall-e-3andstandard/1024-x-1024/dall-e-3from the cost maptest_dalle_3_azure_cost_trackingstill priced adall-e-3response, solocal_testing_part1on CircleCI main is redHow it solves it:
User Flow
Test-only change, no user-facing behavior changes
Relevant issues
Follow-up to #42435 and #42617
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)Screenshots / Proof of Fix
Test-only change. Attribution was checked locally with
LITELLM_LOCAL_MODEL_COST_MAP=True: on main at 327515a the test fails withValueError: Model is None and does not exist in passed completion_response, and with the cost map from the parent of #42435 swapped in it passes. The other 66 tests that failed on CircleCI pipeline 90114 either pass on main already thanks to #42617 or fail with both cost maps, so they are unrelated to #42435Type
✅ Test
Caveats (if any)
Low
image_generationon Azure DALL-E;azure/hd/1024-x-1024/dall-e-3andazure/standard/1024-x-1024/dall-e-3are still in the cost map if someone wants to repoint insteadFinal Attestation
Link to Devin session: https://app.devin.ai/sessions/0df586d33151439e869db129cdb0242c
Open in Devin Desktop: https://app.devin.ai/desktop/session/0df586d33151439e869db129cdb0242c?variant=devin
Note
Low Risk
Test-only deletion with no runtime behavior changes; only reduces coverage for Azure DALL-E 3 image_generation cost tracking.
Overview
Removes
test_dalle_3_azure_cost_trackingfromtest_completion_cost.pyso CI stays green after the model cost map dropped retireddall-e-3keys (follow-up to #42435 / #42617).That test mocked an Azure DALL-E 3
ImageResponseand assertedcompletion_cost(..., call_type="image_generation")was positive; without the map entry it errors (e.g. model not found). No production or pricing logic changes—only less test coverage for Azure DALL-E 3 image-generation costing.Reviewed by Cursor Bugbot for commit 75aec7d. Bugbot is set up for automated code reviews on this repo. Configure here.