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: import Explore Apps raise error (#11091)
非法操作60c15497713c
diff --git a/web/app/components/explore/app-list/index.tsx b/web/app/components/explore/app-list/index.tsxindex 6186d8164d6..bd50708cb42 100644--- a/web/app/components/explore/app-list/index.tsx+++ b/web/app/components/explore/app-list/index.tsx@@ -14,7 +14,7 @@ import type { App } from '@/models/explore'import Category from '@/app/components/explore/category'import AppCard from '@/app/components/explore/app-card'import { fetchAppDetail, fetchAppList } from '@/service/explore'-import { importApp } from '@/service/apps'+import { importDSL } from '@/service/apps'import { useTabSearchParams } from '@/hooks/use-tab-searchparams'import CreateAppModal from '@/app/components/explore/create-app-modal'import AppTypeSelector from '@/app/components/app/type-selector'@@ -24,6 +24,7 @@ import { NEED_REFRESH_APP_LIST_KEY } from '@/config'import { useAppContext } from '@/context/app-context'import { getRedirection } from '@/utils/app-redirection'import Input from '@/app/components/base/input'+import { DSLImportMode } from '@/models/app'type AppsProps = {pageType?: PageType@@ -127,8 +128,9 @@ const Apps = ({currApp?.app.id as string,)try {- const app = await importApp({- data: export_data,+ const app = await importDSL({+ mode: DSLImportMode.YAML_CONTENT,+ yaml_content: export_data,name,icon_type,icon,diff --git a/web/utils/app-redirection.ts b/web/utils/app-redirection.tsindex 534b019250c..b14f660e631 100644--- a/web/utils/app-redirection.ts+++ b/web/utils/app-redirection.ts@@ -4,12 +4,12 @@ export const getRedirection = (redirectionFunc: (href: string) => void,) => {if (!isCurrentWorkspaceEditor) {- redirectionFunc(`/app/${app.id}/overview`)+ redirectionFunc(`/app/${app.app_id}/overview`)}else {if (app.mode === 'workflow' || app.mode === 'advanced-chat')- redirectionFunc(`/app/${app.id}/workflow`)+ redirectionFunc(`/app/${app.app_id}/workflow`)else- redirectionFunc(`/app/${app.id}/configuration`)+ redirectionFunc(`/app/${app.app_id}/configuration`)}}