Skip to content

Commit 3dd956f

Browse files
perf: Disable assistant cache
1 parent cdac7e3 commit 3dd956f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/apps/system/crud/assistant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from common.core.config import settings
1818
from common.utils.utils import string_to_numeric_hash
1919

20-
@cache(namespace=CacheNamespace.EMBEDDED_INFO, cacheName=CacheName.ASSISTANT_INFO, keyExpression="assistant_id")
20+
#@cache(namespace=CacheNamespace.EMBEDDED_INFO, cacheName=CacheName.ASSISTANT_INFO, keyExpression="assistant_id")
2121
async def get_assistant_info(*, session: Session, assistant_id: int) -> AssistantModel | None:
2222
db_model = session.get(AssistantModel, assistant_id)
2323
return db_model

0 commit comments

Comments
 (0)