One more attempt with Claude's help to close connections

This commit is contained in:
Raghotham Murthy 2025-10-07 12:28:31 -07:00
parent fa100c77fd
commit a424815804
16 changed files with 132 additions and 38 deletions

View file

@ -315,6 +315,7 @@ class MetaReferenceAgentsImpl(Agents):
async def shutdown(self) -> None:
await self.persistence_store.close()
await self.responses_store.shutdown()
# OpenAI responses
async def get_openai_response(

View file

@ -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."""