fix: update save_file method to accept additional keyword arguments; enhance AgentImage component with useEffect for dynamic source updates

This commit is contained in:
Alex committed 2025-10-06 14:41:51 +01:00
1 parent 045630b8a5
commit 498e2b772c
2 files changed
+12 -6

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ class LocalStorage(BaseStorage):
return path
return os.path.join(self.base_dir, path)
def save_file(self, file_data: BinaryIO, path: str) -> dict:
def save_file(self, file_data: BinaryIO, path: str, **kwargs) -> dict:
"""Save a file to local storage."""
full_path = self._get_full_path(path)