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: refresh api-based-extension (#1464)
zxhlyh13b64bc55a6f
diff --git a/web/app/components/header/account-setting/api-based-extension-page/empty.tsx b/web/app/components/header/account-setting/api-based-extension-page/empty.tsxindex 62cc1b9cfb7..6401fd4e2b1 100644--- a/web/app/components/header/account-setting/api-based-extension-page/empty.tsx+++ b/web/app/components/header/account-setting/api-based-extension-page/empty.tsx@@ -10,7 +10,7 @@ const Empty = () => {<div className='flex items-center justify-center mb-3 w-12 h-12 rounded-[10px] border border-[#EAECF5]'><Webhooks className='w-6 h-6 text-gray-500' /></div>- <div className='mb-2 text-sm text-gray-600'>{t('commosn.apiBasedExtension.title')}</div>+ <div className='mb-2 text-sm text-gray-600'>{t('common.apiBasedExtension.title')}</div><aclassName='flex items-center mb-2 h-[18px] text-xs text-primary-600'href={t('common.apiBasedExtension.linkUrl') || '/'}diff --git a/web/app/components/header/account-setting/api-based-extension-page/selector.tsx b/web/app/components/header/account-setting/api-based-extension-page/selector.tsxindex 50b9245f395..25c60c7e578 100644--- a/web/app/components/header/account-setting/api-based-extension-page/selector.tsx+++ b/web/app/components/header/account-setting/api-based-extension-page/selector.tsx@@ -30,7 +30,7 @@ const ApiBasedExtensionSelector: FC<ApiBasedExtensionSelectorProps> = ({setShowAccountSettingModal,setShowApiBasedExtensionModal,} = useModalContext()- const { data } = useSWR(+ const { data, mutate } = useSWR('/api-based-extension',fetchApiBasedExtensionList,)@@ -104,7 +104,7 @@ const ApiBasedExtensionSelector: FC<ApiBasedExtensionSelectorProps> = ({<div className='p-1'><divclassName='flex items-center px-3 h-8 text-sm text-primary-600 cursor-pointer'- onClick={() => setShowApiBasedExtensionModal({ payload: {} })}+ onClick={() => setShowApiBasedExtensionModal({ payload: {}, onSaveCallback: () => mutate() })}><Plus className='mr-2 w-4 h-4' />{t('common.operation.add')}