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
refactor(web): mark Props of explore/ components as read-only (#25219) (#37290)
Rohit Gahlawatb4205af9b9f7
diff --git a/web/app/components/explore/try-app/app-info/index.tsx b/web/app/components/explore/try-app/app-info/index.tsxindex ec595ea2473..e7e6e5edde7 100644--- a/web/app/components/explore/try-app/app-info/index.tsx+++ b/web/app/components/explore/try-app/app-info/index.tsx@@ -9,13 +9,13 @@ import { AppTypeIcon } from '@/app/components/app/type-selector'import AppIcon from '@/app/components/base/app-icon'import useGetRequirements from './use-get-requirements'-type Props = {+type Props = Readonly<{appId: stringappDetail: TryAppInfocategories?: string[]className?: stringonCreate: () => void-}+}>const headerClassName = 'system-sm-semibold-uppercase text-text-secondary mb-3'const requirementIconSize = 20diff --git a/web/app/components/explore/try-app/app/chat.tsx b/web/app/components/explore/try-app/app/chat.tsxindex c1c404e49e0..0078a3b22d7 100644--- a/web/app/components/explore/try-app/app/chat.tsx+++ b/web/app/components/explore/try-app/app/chat.tsx@@ -26,11 +26,11 @@ import useBreakpoints, { MediaType } from '@/hooks/use-breakpoints'import { AppSourceType } from '@/service/share'import { useThemeContext } from '../../../base/chat/embedded-chatbot/theme/theme-context'-type Props = {+type Props = Readonly<{appId: stringappDetail: TryAppInfoclassName: string-}+}>const TryApp: FC<Props> = ({appId,diff --git a/web/app/components/explore/try-app/app/index.tsx b/web/app/components/explore/try-app/app/index.tsxindex 4224719bbd8..ecb894b6db7 100644--- a/web/app/components/explore/try-app/app/index.tsx+++ b/web/app/components/explore/try-app/app/index.tsx@@ -7,10 +7,10 @@ import useDocumentTitle from '@/hooks/use-document-title'import Chat from './chat'import TextGeneration from './text-generation'-type Props = {+type Props = Readonly<{appId: stringappDetail: TryAppInfo-}+}>const TryApp: FC<Props> = ({appId,diff --git a/web/app/components/explore/try-app/app/text-generation.tsx b/web/app/components/explore/try-app/app/text-generation.tsxindex 5a51199d864..7c1f77acb3d 100644--- a/web/app/components/explore/try-app/app/text-generation.tsx+++ b/web/app/components/explore/try-app/app/text-generation.tsx@@ -24,12 +24,12 @@ import { Resolution, TransferMethod } from '@/types/app'import { userInputsFormToPromptVariables } from '@/utils/model-config'import RunOnce from '../../../share/text-generation/run-once'-type Props = {+type Props = Readonly<{appId: stringclassName?: stringisWorkflow?: booleanappData: AppData | null-}+}>const TextGeneration: FC<Props> = ({appId,diff --git a/web/app/components/explore/try-app/index.tsx b/web/app/components/explore/try-app/index.tsxindex 3a19075cdad..04c08e8e330 100644--- a/web/app/components/explore/try-app/index.tsx+++ b/web/app/components/explore/try-app/index.tsx@@ -19,13 +19,13 @@ import AppInfo from './app-info'import Preview from './preview'import { TypeEnum } from './types'-type Props = {+type Props = Readonly<{appId: stringapp?: AppTypecategories?: string[]onClose: () => voidonCreate: () => void-}+}>const TryApp: FC<Props> = ({appId,