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
2025-10-06 14:41:51 +01:00
parent 045630b8a5
commit 498e2b772c
2 changed files with 12 additions and 6 deletions

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)