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: ciphertext error (#1872)
takatost5a2aa83030c0
diff --git a/api/core/model_runtime/model_providers/openai_api_compatible/llm/llm.py b/api/core/model_runtime/model_providers/openai_api_compatible/llm/llm.pyindex ed9af7c9f6b..bfb6aff164d 100644--- a/api/core/model_runtime/model_providers/openai_api_compatible/llm/llm.py+++ b/api/core/model_runtime/model_providers/openai_api_compatible/llm/llm.py@@ -6,8 +6,6 @@ import jsonfrom typing import Optional, Generator, Union, List, cast-from sympy import comp-from core.model_runtime.entities.common_entities import I18nObjectfrom core.model_runtime.utils import helperdiff --git a/api/core/provider_manager.py b/api/core/provider_manager.pyindex da5fcaf4585..4572ff7507f 100644--- a/api/core/provider_manager.py+++ b/api/core/provider_manager.py@@ -452,11 +452,14 @@ class ProviderManager:for variable in provider_credential_secret_variables:if variable in provider_credentials:- provider_credentials[variable] = encrypter.decrypt_token_with_decoding(- provider_credentials.get(variable),- decoding_rsa_key,- decoding_cipher_rsa- )+ try:+ provider_credentials[variable] = encrypter.decrypt_token_with_decoding(+ provider_credentials.get(variable),+ decoding_rsa_key,+ decoding_cipher_rsa+ )+ except ValueError:+ passcustom_provider_configuration = CustomProviderConfiguration(credentials=provider_credentials@@ -481,11 +484,14 @@ class ProviderManager:for variable in model_credential_secret_variables:if variable in provider_model_credentials:- provider_model_credentials[variable] = encrypter.decrypt_token_with_decoding(- provider_model_credentials.get(variable),- decoding_rsa_key,- decoding_cipher_rsa- )+ try:+ provider_model_credentials[variable] = encrypter.decrypt_token_with_decoding(+ provider_model_credentials.get(variable),+ decoding_rsa_key,+ decoding_cipher_rsa+ )+ except ValueError:+ passcustom_model_configurations.append(CustomModelConfiguration(@@ -577,11 +583,14 @@ class ProviderManager:for variable in provider_credential_secret_variables:if variable in provider_credentials:- provider_credentials[variable] = encrypter.decrypt_token_with_decoding(- provider_credentials.get(variable),- decoding_rsa_key,- decoding_cipher_rsa- )+ try:+ provider_credentials[variable] = encrypter.decrypt_token_with_decoding(+ provider_credentials.get(variable),+ decoding_rsa_key,+ decoding_cipher_rsa+ )+ except ValueError:+ passcurrent_using_credentials = provider_credentialselse: