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: credential verification of baichuan did not throw all errors (#2475)
takatost4cf475680db4
diff --git a/api/core/model_runtime/model_providers/baichuan/llm/llm.py b/api/core/model_runtime/model_providers/baichuan/llm/llm.pyindex 707355fa7a6..42781200938 100644--- a/api/core/model_runtime/model_providers/baichuan/llm/llm.py+++ b/api/core/model_runtime/model_providers/baichuan/llm/llm.py@@ -103,7 +103,7 @@ class BaichuanLarguageModel(LargeLanguageModel):], parameters={'max_tokens': 1,}, timeout=60)- except (InvalidAPIKeyError, InvalidAuthenticationError) as e:+ except Exception as e:raise CredentialsValidateFailedError(f"Invalid API key: {e}")def _generate(self, model: str, credentials: dict, prompt_messages: list[PromptMessage],