Repository navigation
feat(minimax): add MiniMax-M3 video input capability to model cost map - #34904
octo-patch wants to merge 1 commit into
Conversation
Mark minimax/MiniMax-M3 with supports_video_input=true in both the bundled backup cost map and the root cost map so the documented video input modality is advertised alongside the existing supports_vision flag. Add regression tests covering the capability and provider.
|
|
Greptile SummaryAdds MiniMax-M3 video-input capability metadata consistently across both model cost maps.
Confidence Score: 5/5The PR appears safe to merge, with both model cost maps synchronized and focused tests covering the added capability metadata. The change consistently adds the same capability flag to the primary and bundled maps, and the added tests validate the bundled metadata without introducing network dependencies or weakening existing coverage.
|
| Filename | Overview |
|---|---|
| model_prices_and_context_window.json | Adds the MiniMax-M3 video-input capability to the primary model cost map without changing unrelated metadata. |
| litellm/model_prices_and_context_window_backup.json | Mirrors the capability flag in the bundled fallback map, keeping local and remote metadata consistent. |
| tests/test_litellm/llms/minimax/chat/test_transformation.py | Adds local cost-map assertions covering MiniMax-M3 presence, image and video capabilities, and provider assignment. |
Reviews (1): Last reviewed commit: "feat(minimax): add MiniMax-M3 video inpu..." | 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 |
Reason: minimax/MiniMax-M3 is documented for text, image, and video input, but the model cost map only advertised image input via supports_vision and omitted the supports_video_input capability.
Changes
supports_video_input: trueon theminimax/MiniMax-M3entry inmodel_prices_and_context_window.json.supports_video_input: trueon theminimax/MiniMax-M3entry inlitellm/model_prices_and_context_window_backup.json(the bundled backup cost map) so the shipped package advertises the same capability.Both cost map files are kept in sync, matching the existing
supports_vision: trueflag that already advertised image input for this model.Tests
TestMiniMaxM3InputCapabilitiesintests/test_litellm/llms/minimax/chat/test_transformation.pycovering: model presence in the cost map,supports_vision,supports_video_input, and provider assignment.Checks
python3 -m pytest tests/test_litellm/llms/minimax/chat/test_transformation.py -x -q-> 8 passed, 4 skipped.python3 -m pytest tests/test_litellm/litellm_core_utils/llm_cost_calc/test_llm_cost_calc_utils.py -k minimax_m3 -x -q-> 1 passed.jq empty model_prices_and_context_window.jsonandjq empty litellm/model_prices_and_context_window_backup.json-> valid JSON.