mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-16 11:22:37 +00:00
One more attempt with Claude's help to close connections
This commit is contained in:
parent
fa100c77fd
commit
a424815804
16 changed files with 132 additions and 38 deletions
|
|
@ -62,7 +62,8 @@ class LocalfsFilesImpl(Files):
|
|||
)
|
||||
|
||||
async def shutdown(self) -> None:
|
||||
pass
|
||||
if self.sql_store:
|
||||
await self.sql_store.close()
|
||||
|
||||
def _generate_file_id(self) -> str:
|
||||
"""Generate a unique file ID for OpenAI API."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue