[chore] run full pre-commit (#8104)

This commit is contained in:
Engel Nyst
2025-04-27 08:43:26 +02:00
committed by GitHub
parent 8a5c6d3bef
commit 70f469b0c1
17 changed files with 63 additions and 69 deletions

View File

@@ -344,9 +344,7 @@ async def update_conversation(
title: str = Body(embed=True),
user_id: str | None = Depends(get_user_id),
) -> bool:
conversation_store = await ConversationStoreImpl.get_instance(
config, user_id
)
conversation_store = await ConversationStoreImpl.get_instance(config, user_id)
metadata = await conversation_store.get_metadata(conversation_id)
if not metadata:
return False
@@ -369,9 +367,7 @@ async def delete_conversation(
conversation_id: str,
user_id: str | None = Depends(get_user_id),
) -> bool:
conversation_store = await ConversationStoreImpl.get_instance(
config, user_id
)
conversation_store = await ConversationStoreImpl.get_instance(config, user_id)
try:
await conversation_store.get_metadata(conversation_id)
except FileNotFoundError: