mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-08 13:55:06 -05:00
Simplify store_media_file API with a single return_format parameter: - "local_path": Return relative path (for local processing like MoviePy) - "data_uri": Return base64 data URI (for external APIs like Replicate) - "workspace_ref": Save to workspace and return workspace://id (for CoPilot) This replaces the confusing combination of return_content and save_to_workspace parameters. The old parameters are deprecated but still work via a compatibility layer. Updated all blocks to use the new explicit return_format parameter: - Local processing: return_format="local_path" - External APIs: return_format="data_uri" - CoPilot outputs: return_format="workspace_ref" Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>