mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-10-08 07:52:20 +02:00
fix(routing): keep media review out of editor and web paths
This commit is contained in:
@@ -3059,6 +3059,12 @@ def test_inline_suggestion_intent_is_independent_from_document_visibility():
|
||||
'create inline suggestions only; do not apply changes.'
|
||||
)
|
||||
assert not inline_suggestion_request('Apply the suggestions to this document')
|
||||
assert not inline_suggestion_request(
|
||||
'Review the video at /workspace/input/video.mp4 and count every match point.'
|
||||
)
|
||||
assert not inline_suggestion_request(
|
||||
'Review the short handheld clip at /workspace/input/video.mp4 and save an index image.'
|
||||
)
|
||||
assert not active_editor_suggestion_request(None, 'give suggestions to this document')
|
||||
|
||||
|
||||
|
||||
@@ -4295,6 +4295,20 @@ def test_watch_workspace_video_is_media_not_generic_shell():
|
||||
) == {"media_inspection"}
|
||||
|
||||
|
||||
def test_review_workspace_video_is_media_not_document_or_web_review():
|
||||
assert requested_capabilities(
|
||||
"Review the video at /workspace/input/video.mp4, count every match point, "
|
||||
"and provide the verified totals in the final message."
|
||||
) == {"media_inspection"}
|
||||
|
||||
|
||||
def test_explicit_media_verification_does_not_require_browser_family():
|
||||
assert requested_capabilities(
|
||||
"First inspect /workspace/input/reference.png. Create /workspace/output.html, "
|
||||
"then inspect the rendered result using inspect_media on the file or a screenshot."
|
||||
) == {"media_inspection", "shell_files"}
|
||||
|
||||
|
||||
def test_chinese_video_to_image_artifact_keeps_media_and_workspace_tools():
|
||||
assert requested_capabilities(
|
||||
"请完整浏览 /workspace/input/video.mp4,为每款零食截图并拼成清单图,"
|
||||
|
||||
Reference in New Issue
Block a user