Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix(conversation-service): return success response after conversation… (#10416)
Benjamina5558f8fcc3c
diff --git a/api/controllers/service_api/app/conversation.py b/api/controllers/service_api/app/conversation.pyindex 527ef4ecd36..a0bd1b74124 100644--- a/api/controllers/service_api/app/conversation.py+++ b/api/controllers/service_api/app/conversation.py@@ -58,10 +58,9 @@ class ConversationDetailApi(Resource):conversation_id = str(c_id)try:- ConversationService.delete(app_model, conversation_id, end_user)+ return ConversationService.delete(app_model, conversation_id, end_user)except services.errors.conversation.ConversationNotExistsError:raise NotFound("Conversation Not Exists.")- return {"result": "success"}, 200class ConversationRenameApi(Resource):diff --git a/api/services/conversation_service.py b/api/services/conversation_service.pyindex 7bfe59afa0e..ac9f577c320 100644--- a/api/services/conversation_service.py+++ b/api/services/conversation_service.py@@ -160,4 +160,7 @@ class ConversationService:conversation = cls.get_conversation(app_model, conversation_id, user)conversation.is_deleted = True+ conversation.updated_at = datetime.now(timezone.utc).replace(tzinfo=None)db.session.commit()++ return {"result": "success"}, 200