fix: add shutdown function for localfs provider

this was causing an unnessessary logger warning

Signed-off-by: Nathan Weinberg <nweinber@redhat.com>
This commit is contained in:
Nathan Weinberg 2025-07-16 11:12:55 -04:00
parent 3165197b75
commit a9e4ef41bb

View file

@ -51,6 +51,9 @@ class LocalfsFilesImpl(Files):
}, },
) )
async def shutdown(self) -> None:
pass
def _generate_file_id(self) -> str: def _generate_file_id(self) -> str:
"""Generate a unique file ID for OpenAI API.""" """Generate a unique file ID for OpenAI API."""
return f"file-{uuid.uuid4().hex}" return f"file-{uuid.uuid4().hex}"