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: invoke_error is not callable (#15555)
jiangbo721037f200527bd
diff --git a/api/core/model_runtime/model_providers/__base/ai_model.py b/api/core/model_runtime/model_providers/__base/ai_model.pyindex cdd1bba6beb..bd055900181 100644--- a/api/core/model_runtime/model_providers/__base/ai_model.py+++ b/api/core/model_runtime/model_providers/__base/ai_model.py@@ -80,7 +80,7 @@ class AIModel(BaseModel):))elif isinstance(invoke_error, InvokeError):- return invoke_error(description=f"[{self.provider_name}] {invoke_error.description}, {str(error)}")+ return InvokeError(description=f"[{self.provider_name}] {invoke_error.description}, {str(error)}")else:return error