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: return message error in blocking mode (#657)
John Wang538e3fc256f5
diff --git a/api/services/completion_service.py b/api/services/completion_service.pyindex ac669997f70..6b8ee520eba 100644--- a/api/services/completion_service.py+++ b/api/services/completion_service.py@@ -390,8 +390,8 @@ class CompletionService:result = json.loads(result)if result.get('error'):cls.handle_error(result)-- return cls.get_message_response_data(result.get('data'))+ if 'data' in result:+ return cls.get_message_response_data(result.get('data'))except ValueError as e:if e.args[0] != "I/O operation on closed file.": # ignore this errorraise CompletionStoppedError()