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
Update Resend SDK and resend api url in configuration. (#1963)
Benjamin1fe4e3afde26
diff --git a/api/.env.example b/api/.env.exampleindex 4d8f6f0d04b..18c449a48bc 100644--- a/api/.env.example+++ b/api/.env.example@@ -86,6 +86,7 @@ MULTIMODAL_SEND_IMAGE_FORMAT=base64MAIL_TYPE=MAIL_DEFAULT_SEND_FROM=no-reply <[email protected]>RESEND_API_KEY=+RESEND_API_URL=https://api.resend.com# Sentry configurationSENTRY_DSN=diff --git a/api/config.py b/api/config.pyindex a9bd9c1bf82..a7e969594b5 100644--- a/api/config.py+++ b/api/config.py@@ -219,6 +219,7 @@ class Config:self.MAIL_TYPE = get_env('MAIL_TYPE')self.MAIL_DEFAULT_SEND_FROM = get_env('MAIL_DEFAULT_SEND_FROM')self.RESEND_API_KEY = get_env('RESEND_API_KEY')+ self.RESEND_API_URL = get_env('RESEND_API_URL')# ------------------------# Workpace Configurations.diff --git a/api/extensions/ext_mail.py b/api/extensions/ext_mail.pyindex 21a186228e0..51ebfdce56c 100644--- a/api/extensions/ext_mail.py+++ b/api/extensions/ext_mail.py@@ -21,7 +21,12 @@ class Mail:api_key = app.config.get('RESEND_API_KEY')if not api_key:raise ValueError('RESEND_API_KEY is not set')-++ api_url = app.config.get('RESEND_API_URL')+ if not api_url:+ raise ValueError('RESEND_API_URL is not set')++ resend.api_url = api_urlresend.api_key = api_keyself._client = resend.Emailselse:diff --git a/api/requirements.txt b/api/requirements.txtindex 0780ef3644c..030c8f7072a 100644--- a/api/requirements.txt+++ b/api/requirements.txt@@ -34,7 +34,7 @@ openpyxl==3.1.2chardet~=5.1.0docx2txt==0.8pypdfium2==4.16.0-resend~=0.5.1+resend~=0.7.0pyjwt~=2.6.0anthropic~=0.7.7newspaper3k==0.2.8diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yamlindex 4cac082a267..45ef3427934 100644--- a/docker/docker-compose.yaml+++ b/docker/docker-compose.yaml@@ -111,6 +111,7 @@ services:MAIL_DEFAULT_SEND_FROM: 'YOUR EMAIL FROM (eg: no-reply <[email protected]>)'# the api-key for resend (https://resend.com)RESEND_API_KEY: ''+ RESEND_API_URL: https://api.resend.com# The DSN for Sentry error reporting. If not set, Sentry error reporting will be disabled.SENTRY_DSN: ''# The sample rate for Sentry events. Default: `1.0`@@ -191,6 +192,7 @@ services:MAIL_DEFAULT_SEND_FROM: 'YOUR EMAIL FROM (eg: no-reply <[email protected]>)'# the api-key for resend (https://resend.com)RESEND_API_KEY: ''+ RESEND_API_URL: https://api.resend.comdepends_on:- db- redis