From 804e88e4ba0b49f997b696d9b647a8a1370c59e6 Mon Sep 17 00:00:00 2001 From: "claude[bot]" <41898282+claude[bot]@users.noreply.github.com> Date: Fri, 26 Dec 2025 16:30:32 +0000 Subject: [PATCH] fix(blocks): add missing user_id parameter to video blocks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add required user_id parameter to TranscribeVideoBlock and EditVideoByTextBlock run methods, and pass it to store_media_file() calls to fix block test failures. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Nicholas Tindle --- autogpt_platform/backend/backend/blocks/edit_video_by_text.py | 2 ++ autogpt_platform/backend/backend/blocks/transcribe_video.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/autogpt_platform/backend/backend/blocks/edit_video_by_text.py b/autogpt_platform/backend/backend/blocks/edit_video_by_text.py index 839fd0eff6..fe8bb573d8 100644 --- a/autogpt_platform/backend/backend/blocks/edit_video_by_text.py +++ b/autogpt_platform/backend/backend/blocks/edit_video_by_text.py @@ -136,12 +136,14 @@ class EditVideoByTextBlock(Block): *, credentials: APIKeyCredentials, graph_exec_id: str, + user_id: str, **kwargs, ) -> BlockOutput: try: local_path = await store_media_file( graph_exec_id=graph_exec_id, file=input_data.video_in, + user_id=user_id, return_content=False, ) abs_path = get_exec_file_path(graph_exec_id, local_path) diff --git a/autogpt_platform/backend/backend/blocks/transcribe_video.py b/autogpt_platform/backend/backend/blocks/transcribe_video.py index 45daf4e900..5edb53139b 100644 --- a/autogpt_platform/backend/backend/blocks/transcribe_video.py +++ b/autogpt_platform/backend/backend/blocks/transcribe_video.py @@ -116,12 +116,14 @@ class TranscribeVideoBlock(Block): *, credentials: APIKeyCredentials, graph_exec_id: str, + user_id: str, **kwargs, ) -> BlockOutput: try: local_path = await store_media_file( graph_exec_id=graph_exec_id, file=input_data.video_in, + user_id=user_id, return_content=False, ) abs_path = get_exec_file_path(graph_exec_id, local_path)