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
minor typo fix: remove debug code and fix typo (#22539)
NeatGuyCoding93c27b134da5
diff --git a/api/controllers/console/auth/error.py b/api/controllers/console/auth/error.pyindex f4a8b974835..8c5e23de58e 100644--- a/api/controllers/console/auth/error.py+++ b/api/controllers/console/auth/error.py@@ -27,19 +27,19 @@ class InvalidTokenError(BaseHTTPException):class PasswordResetRateLimitExceededError(BaseHTTPException):error_code = "password_reset_rate_limit_exceeded"- description = "Too many password reset emails have been sent. Please try again in 1 minutes."+ description = "Too many password reset emails have been sent. Please try again in 1 minute."code = 429class EmailChangeRateLimitExceededError(BaseHTTPException):error_code = "email_change_rate_limit_exceeded"- description = "Too many email change emails have been sent. Please try again in 1 minutes."+ description = "Too many email change emails have been sent. Please try again in 1 minute."code = 429class OwnerTransferRateLimitExceededError(BaseHTTPException):error_code = "owner_transfer_rate_limit_exceeded"- description = "Too many owner tansfer emails have been sent. Please try again in 1 minutes."+ description = "Too many owner transfer emails have been sent. Please try again in 1 minute."code = 429diff --git a/api/controllers/console/workspace/members.py b/api/controllers/console/workspace/members.pyindex 30a4148dbbd..b1f79ffdec5 100644--- a/api/controllers/console/workspace/members.py+++ b/api/controllers/console/workspace/members.py@@ -264,11 +264,9 @@ class OwnerTransfer(Resource):transfer_token_data = AccountService.get_owner_transfer_data(args["token"])if not transfer_token_data:- print(transfer_token_data, "transfer_token_data")raise InvalidTokenError()if transfer_token_data.get("email") != current_user.email:- print(transfer_token_data.get("email"), current_user.email)raise InvalidEmailError()AccountService.revoke_owner_transfer_token(args["token"])diff --git a/api/templates/change_mail_confirm_old_template_zh-CN.html b/api/templates/change_mail_confirm_old_template_zh-CN.htmlindex 4a3e35cfb69..23c9e466528 100644--- a/api/templates/change_mail_confirm_old_template_zh-CN.html+++ b/api/templates/change_mail_confirm_old_template_zh-CN.html@@ -111,7 +111,6 @@<p class="title">验证您的邮箱变更请求</p><div class="description"><p class="content1">我们收到了一个变更您 Dify 账户关联邮箱地址的请求。</p>- <p class="content2">我们收到了一个变更您 Dify 账户关联邮箱地址的请求。</p><p class="content3">此验证码仅在接下来的5分钟内有效:</p></div><div class="code-content">diff --git a/api/templates/transfer_workspace_owner_confirm_template_en-US.html b/api/templates/transfer_workspace_owner_confirm_template_en-US.htmlindex fb8c107274c..101495ea8f5 100644--- a/api/templates/transfer_workspace_owner_confirm_template_en-US.html+++ b/api/templates/transfer_workspace_owner_confirm_template_en-US.html@@ -143,7 +143,7 @@<div class="warning">Please note:</div><ul class="warningList"><li>The ownership transfer will take effect immediately once confirmed and cannot be undone.</li>- <li>You’ll become a admin member, and the new owner will have full control of the workspace.</li>+ <li>You’ll become an admin member, and the new owner will have full control of the workspace.</li></ul><p class="tips">If you didn’t make this request, please ignore this email or contact support immediately.</p></div>diff --git a/api/templates/without-brand/change_mail_confirm_old_template_zh-CN.html b/api/templates/without-brand/change_mail_confirm_old_template_zh-CN.htmlindex 66887ccb067..41f0839190b 100644--- a/api/templates/without-brand/change_mail_confirm_old_template_zh-CN.html+++ b/api/templates/without-brand/change_mail_confirm_old_template_zh-CN.html@@ -108,7 +108,6 @@<p class="title">验证您的邮箱变更请求</p><div class="description"><p class="content1">我们收到了一个变更您 Dify 账户关联邮箱地址的请求。</p>- <p class="content2">我们收到了一个变更您 Dify 账户关联邮箱地址的请求。</p><p class="content3">此验证码仅在接下来的5分钟内有效:</p></div><div class="code-content">diff --git a/api/templates/without-brand/transfer_workspace_owner_confirm_template_en-US.html b/api/templates/without-brand/transfer_workspace_owner_confirm_template_en-US.htmlindex 0e045a5878b..11ce2756416 100644--- a/api/templates/without-brand/transfer_workspace_owner_confirm_template_en-US.html+++ b/api/templates/without-brand/transfer_workspace_owner_confirm_template_en-US.html@@ -140,7 +140,7 @@<div class="warning">Please note:</div><ul class="warningList"><li>The ownership transfer will take effect immediately once confirmed and cannot be undone.</li>- <li>You’ll become a admin member, and the new owner will have full control of the workspace.</li>+ <li>You’ll become an admin member, and the new owner will have full control of the workspace.</li></ul><p class="tips">If you didn’t make this request, please ignore this email or contact support immediately.</p></div>