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
clean console apis and rag cleans. (#25042)
湛露先生1fff4620e61a
diff --git a/api/controllers/console/explore/conversation.py b/api/controllers/console/explore/conversation.pyindex a8d46954b57..43ad3ecfbd2 100644--- a/api/controllers/console/explore/conversation.py+++ b/api/controllers/console/explore/conversation.py@@ -61,7 +61,6 @@ class ConversationApi(InstalledAppResource):ConversationService.delete(app_model, conversation_id, current_user)except ConversationNotExistsError:raise NotFound("Conversation Not Exists.")- WebConversationService.unpin(app_model, conversation_id, current_user)return {"result": "success"}, 204diff --git a/api/controllers/web/conversation.py b/api/controllers/web/conversation.pyindex ea413882683..24de4f3f2e2 100644--- a/api/controllers/web/conversation.py+++ b/api/controllers/web/conversation.py@@ -73,8 +73,6 @@ class ConversationApi(WebApiResource):ConversationService.delete(app_model, conversation_id, end_user)except ConversationNotExistsError:raise NotFound("Conversation Not Exists.")- WebConversationService.unpin(app_model, conversation_id, end_user)-return {"result": "success"}, 204diff --git a/api/core/rag/extractor/blob/blob.py b/api/core/rag/extractor/blob/blob.pyindex 01003a13b60..60dbc449f79 100644--- a/api/core/rag/extractor/blob/blob.py+++ b/api/core/rag/extractor/blob/blob.py@@ -107,7 +107,7 @@ class Blob(BaseModel):Blob instance"""if mime_type is None and guess_type:- _mimetype = mimetypes.guess_type(path)[0] if guess_type else None+ _mimetype = mimetypes.guess_type(path)[0]else:_mimetype = mime_type# We do not load the data immediately, instead we treat the blob as a