Skip to content

fix(video): annotate sandbox-visible cache paths like image_generate - #81918

Closed
aydnOktay wants to merge 1 commit into
NousResearch:mainfrom
aydnOktay:fix/video-agent-visible-cache-path
Closed

aydnOktay wants to merge 1 commit into
NousResearch:mainfrom
aydnOktay:fix/video-agent-visible-cache-path

Conversation

@aydnOktay

Copy link
Copy Markdown
Contributor

Summary

  • video_generate returned host video paths only (no sandbox annotation).
  • Under docker/ssh/modal local bytes live at /root/.hermes/cache/videos/... (or the remote home), so terminal/file follow-up on video failed even though gateway MEDIA delivery still worked.
  • Reuse the image_generate helpers to add agent_visible_video / host_video while keeping video as the host/gateway path (same contract as agent_visible_image / TTS agent_visible_file_path).
  • HTTP URL backends are unchanged (_looks_like_absolute_file_path no-ops).

Before / After

Backend video Agent follow-up
local host cache host (unchanged)
docker (before) host only sandbox not-found
docker (after) host + agent_visible_video=/root/.hermes/cache/videos/... works
https URL URL unchanged

video_generate returned host cache paths only. Under docker/ssh/modal the
bytes live at /root/.hermes/cache/videos/... (or the remote home), so
terminal/file follow-up on video failed even though MEDIA delivery worked.
Reuse the image_generate helpers to add agent_visible_video while keeping
video as the host/gateway path.

Co-authored-by: Cursor <cursoragent@cursor.com>
@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists comp/tools Tool registry, model_tools, toolsets tool/vision Vision analysis and image generation backend/docker Docker container execution backend/ssh SSH remote execution backend/modal Modal.com cloud execution labels Aug 8, 2026
@aydnOktay

Copy link
Copy Markdown
Contributor Author

Closing to concentrate review on a single linked product bug: #89979.

@aydnOktay aydnOktay closed this Aug 19, 2026
@aydnOktay

Copy link
Copy Markdown
Contributor Author

Closing to concentrate review on a single linked product bug: #89979.

1 similar comment
@aydnOktay

Copy link
Copy Markdown
Contributor Author

Closing to concentrate review on a single linked product bug: #89979.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend/docker Docker container execution backend/modal Modal.com cloud execution backend/ssh SSH remote execution comp/tools Tool registry, model_tools, toolsets P2 Medium — degraded but workaround exists tool/vision Vision analysis and image generation type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants