From a9e4ef41bb66473cf16d985e4d6f24251e6df6fb Mon Sep 17 00:00:00 2001 From: Nathan Weinberg Date: Wed, 16 Jul 2025 11:12:55 -0400 Subject: [PATCH] fix: add shutdown function for localfs provider this was causing an unnessessary logger warning Signed-off-by: Nathan Weinberg --- llama_stack/providers/inline/files/localfs/files.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/llama_stack/providers/inline/files/localfs/files.py b/llama_stack/providers/inline/files/localfs/files.py index 851ce2a6a..bdf8c42c7 100644 --- a/llama_stack/providers/inline/files/localfs/files.py +++ b/llama_stack/providers/inline/files/localfs/files.py @@ -51,6 +51,9 @@ class LocalfsFilesImpl(Files): }, ) + async def shutdown(self) -> None: + pass + def _generate_file_id(self) -> str: """Generate a unique file ID for OpenAI API.""" return f"file-{uuid.uuid4().hex}"