Merge pull request #6114 from MervinPraison/claude/issue-5180-20261029

fix: replace deprecated video model IDs in recipe prompts
This commit is contained in:
praisonai-triage-agent[bot] authored and GitHub committed 2026-10-29 00:47:33 +00:00
commit abdc13439e
4 files changed
+21 -3

No files matched your search

@@ -265,7 +265,7 @@ Keywords: "audio", "speech", "voice", "tts", "stt", "transcribe", "speak", "narr
### VideoAgent - Video Generation
Keywords: "video", "generate video", "create video", "animation", "sora"
- Models: openai/sora-2, gemini/veo-3.0-generate-preview, runway/gen-3
- Models: openai/sora-2, gemini/veo-3.1-generate-preview
- Use `agent: VideoAgent` in the agent definition
- Action: "Generate a video based on the prompt"
@@ -151,7 +151,7 @@ SPECIALIZED AGENT TYPES
## VideoAgent - Video Generation
- Use `agent: VideoAgent` in agent definition
- llm: openai/sora-2 or gemini/veo-3.0-generate-preview
- llm: openai/sora-2 or gemini/veo-3.1-generate-preview
## OCRAgent - Text Extraction from Documents
- Use `agent: OCRAgent` in agent definition
@@ -0,0 +1,18 @@
"""Recipe prompt text must not recommend deprecated video model IDs (#5180)."""
from pathlib import Path
import pytest
FEATURES = Path(__file__).resolve().parents[2] / "praisonai_code" / "cli" / "features"
# runwayml/gen4_turbo needs input_reference, so it is not valid for text-only recipes
DISALLOWED = ("veo-3.0-generate-preview", "runway/gen-3", "runwayml/gen4_turbo")
@pytest.mark.parametrize("name", ["recipe_creator.py", "recipe_prompts.py"])
def test_recipe_prompts_use_current_video_ids(name):
text = (FEATURES / name).read_text(encoding="utf-8")
for stale in DISALLOWED:
assert stale not in text
assert "gemini/veo-3.1-generate-preview" in text
assert "openai/sora-2" in text
@@ -174,7 +174,7 @@ SPECIALIZED AGENT TYPES
## VideoAgent - Video Generation
- Use `agent: VideoAgent` in agent definition
- llm: openai/sora-2 or gemini/veo-3.0-generate-preview
- llm: openai/sora-2 or gemini/veo-3.1-generate-preview
## OCRAgent - Text Extraction from Documents
- Use `agent: OCRAgent` in agent definition