fix: use minimax_video (not minimax_tokenplan_video) in fallback_tools

minimax_tokenplan_video does not exist in main branch (added in PR #297,
not yet merged). Use minimax_video which is the existing tool.

Fixes Copilot review comments on fallback_tools reference and
contract test assertion.
This commit is contained in:
Yiyabo
2026-07-10 18:54:25 +08:00
parent e06f56d26a
commit 2ad71dd591
2 changed files with 2 additions and 2 deletions

View File

@@ -61,7 +61,7 @@ class TestContract:
def test_has_fallbacks(self):
tool = JimengVideo()
assert "minimax_tokenplan_video" in tool.fallback_tools
assert "minimax_video" in tool.fallback_tools
assert "kling_video" in tool.fallback_tools
def test_has_install_instructions(self):

View File

@@ -78,7 +78,7 @@ class JimengVideo(BaseTool):
"Chinese-language prompt understanding",
]
not_good_for = ["offline generation", "users without Volcengine AK/SK"]
fallback_tools = ["minimax_tokenplan_video", "kling_video", "veo_video"]
fallback_tools = ["minimax_video", "kling_video", "veo_video"]
input_schema = {
"type": "object",