Repository navigation
fix(bedrock): correct Nova 2 Lite Japan inference ID - #33239
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
🤖 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:
|
|
|
Greptile SummaryThis PR corrects the AWS Bedrock Japan geo-inference profile key for Nova 2 Lite from the invalid
Confidence Score: 5/5Safe to merge — the change is a one-line key rename in two JSON files with a targeted regression test that locks in the correct behavior. The change is minimal and isolated: the wrong No files require special attention.
|
| Filename | Overview |
|---|---|
| model_prices_and_context_window.json | Renames apac.amazon.nova-2-lite-v1:0 key to jp.amazon.nova-2-lite-v1:0; pricing values are unchanged |
| litellm/model_prices_and_context_window_backup.json | Same key rename applied to the backup JSON, keeping both files in sync |
| tests/test_litellm/test_utils.py | Adds test_nova_2_lite_jp_geo_inference_profile_cost_map which asserts apac key absent, jp pricing matches eu, and model-info resolution works — all via the local-cost-map fixture with no network calls |
Reviews (1): Last reviewed commit: "fix(bedrock): correct Nova 2 Lite Japan ..." | Re-trigger Greptile
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Superseded by rolling registry audit #37902, which reverified and absorbed the provider-documented metadata changes at field level |
Relevant issues
Fixes #33211
Linear ticket
Pre-Submission checklist
@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
Commit
64ed78f657Type
Bug Fix
Test
Changes
Replaces the invalid
apac.amazon.nova-2-lite-v1:0cost-map key with AWS's validjp.amazon.nova-2-lite-v1:0key in both bundled mapsAdds a regression test that rejects the invalid key, verifies Japan pricing matches the other regional profile pricing, and confirms
bedrock/jp.amazon.nova-2-lite-v1:0resolves to the exact regional entryFinal Attestation
Link to Devin session: https://app.devin.ai/sessions/3b7d02d671a74f5eaaafa1ef792abc16