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: run extra model serval ex not return (#916)
takatost5163dd38e5d1
diff --git a/api/core/model_providers/models/embedding/azure_openai_embedding.py b/api/core/model_providers/models/embedding/azure_openai_embedding.pyindex 81f08784b27..127bf640eee 100644--- a/api/core/model_providers/models/embedding/azure_openai_embedding.py+++ b/api/core/model_providers/models/embedding/azure_openai_embedding.py@@ -71,7 +71,7 @@ class AzureOpenAIEmbedding(BaseEmbedding):elif isinstance(ex, openai.error.RateLimitError):return LLMRateLimitError('Azure ' + str(ex))elif isinstance(ex, openai.error.AuthenticationError):- raise LLMAuthorizationError('Azure ' + str(ex))+ return LLMAuthorizationError('Azure ' + str(ex))elif isinstance(ex, openai.error.OpenAIError):return LLMBadRequestError('Azure ' + ex.__class__.__name__ + ":" + str(ex))else:diff --git a/api/core/model_providers/models/embedding/openai_embedding.py b/api/core/model_providers/models/embedding/openai_embedding.pyindex 1d7af94fdba..3ab65c291df 100644--- a/api/core/model_providers/models/embedding/openai_embedding.py+++ b/api/core/model_providers/models/embedding/openai_embedding.py@@ -65,7 +65,7 @@ class OpenAIEmbedding(BaseEmbedding):elif isinstance(ex, openai.error.RateLimitError):return LLMRateLimitError(str(ex))elif isinstance(ex, openai.error.AuthenticationError):- raise LLMAuthorizationError(str(ex))+ return LLMAuthorizationError(str(ex))elif isinstance(ex, openai.error.OpenAIError):return LLMBadRequestError(ex.__class__.__name__ + ":" + str(ex))else:diff --git a/api/core/model_providers/models/moderation/openai_moderation.py b/api/core/model_providers/models/moderation/openai_moderation.pyindex c1e792966ba..e7012a0438a 100644--- a/api/core/model_providers/models/moderation/openai_moderation.py+++ b/api/core/model_providers/models/moderation/openai_moderation.py@@ -41,7 +41,7 @@ class OpenAIModeration(BaseProviderModel):elif isinstance(ex, openai.error.RateLimitError):return LLMRateLimitError(str(ex))elif isinstance(ex, openai.error.AuthenticationError):- raise LLMAuthorizationError(str(ex))+ return LLMAuthorizationError(str(ex))elif isinstance(ex, openai.error.OpenAIError):return LLMBadRequestError(ex.__class__.__name__ + ":" + str(ex))else:diff --git a/api/core/model_providers/models/speech2text/openai_whisper.py b/api/core/model_providers/models/speech2text/openai_whisper.pyindex 8bca2aaa6da..a1fdc484dd2 100644--- a/api/core/model_providers/models/speech2text/openai_whisper.py+++ b/api/core/model_providers/models/speech2text/openai_whisper.py@@ -40,7 +40,7 @@ class OpenAIWhisper(BaseSpeech2Text):elif isinstance(ex, openai.error.RateLimitError):return LLMRateLimitError(str(ex))elif isinstance(ex, openai.error.AuthenticationError):- raise LLMAuthorizationError(str(ex))+ return LLMAuthorizationError(str(ex))elif isinstance(ex, openai.error.OpenAIError):return LLMBadRequestError(ex.__class__.__name__ + ":" + str(ex))else: