From 62c8082f945361174e3af8889db5488f6334631f Mon Sep 17 00:00:00 2001 From: taozuinb <38354214+taozuinb@users.noreply.github.com> Date: Tue, 1 Jul 2025 14:36:36 +0800 Subject: [PATCH] Update api/services/conversation_service.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- api/services/conversation_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/services/conversation_service.py b/api/services/conversation_service.py index fd26be6ac4..6de8b22b73 100644 --- a/api/services/conversation_service.py +++ b/api/services/conversation_service.py @@ -146,7 +146,7 @@ class ConversationService: @classmethod def get_conversation(cls, app_model: App, conversation_id: str, user: Optional[Union[Account, EndUser]],invoke_from: InvokeFrom =None): - if invoke_from and invoke_from==invoke_from.SERVICE_API: + if invoke_from and invoke_from == InvokeFrom.SERVICE_API: conversation = ( db.session.query(Conversation) .filter(