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
chore: remove useless mock files (#29068)
Joel876f48df761d
diff --git a/web/app/components/datasets/create/website/base/mock-crawl-result.ts b/web/app/components/datasets/create/website/base/mock-crawl-result.tsdeleted file mode 100644index 88c05d3d0ad..00000000000--- a/web/app/components/datasets/create/website/base/mock-crawl-result.ts+++ /dev/null@@ -1,24 +0,0 @@-import type { CrawlResultItem } from '@/models/datasets'--const result: CrawlResultItem[] = [- {- title: 'Start the frontend Docker container separately',- content: 'Markdown 1',- description: 'Description 1',- source_url: 'https://example.com/1',- },- {- title: 'Advanced Tool Integration',- content: 'Markdown 2',- description: 'Description 2',- source_url: 'https://example.com/2',- },- {- title: 'Local Source Code Start | English | Dify',- content: 'Markdown 3',- description: 'Description 3',- source_url: 'https://example.com/3',- },-]--export default resultdiff --git a/web/app/components/tools/mcp/mock.ts b/web/app/components/tools/mcp/mock.tsdeleted file mode 100644index f271f67ed3c..00000000000--- a/web/app/components/tools/mcp/mock.ts+++ /dev/null@@ -1,154 +0,0 @@-const tools = [- {- author: 'Novice',- name: 'NOTION_ADD_PAGE_CONTENT',- label: {- en_US: 'NOTION_ADD_PAGE_CONTENT',- zh_Hans: 'NOTION_ADD_PAGE_CONTENT',- pt_BR: 'NOTION_ADD_PAGE_CONTENT',- ja_JP: 'NOTION_ADD_PAGE_CONTENT',- },- description: {- en_US: 'Adds a single content block to a notion page. multiple calls needed for multiple blocks. note: only supports adding to notion pages. blocks that can contain children: - page (any block type) - toggle (any nested content) - to-do (nested to-dos/blocks) - bulleted list (nested lists/blocks) - numbered list (nested lists/blocks) - callout (child blocks) - quote (nested blocks)',- zh_Hans: 'Adds a single content block to a notion page. multiple calls needed for multiple blocks. note: only supports adding to notion pages. blocks that can contain children: - page (any block type) - toggle (any nested content) - to-do (nested to-dos/blocks) - bulleted list (nested lists/blocks) - numbered list (nested lists/blocks) - callout (child blocks) - quote (nested blocks)',- pt_BR: 'Adds a single content block to a notion page. multiple calls needed for multiple blocks. note: only supports adding to notion pages. blocks that can contain children: - page (any block type) - toggle (any nested content) - to-do (nested to-dos/blocks) - bulleted list (nested lists/blocks) - numbered list (nested lists/blocks) - callout (child blocks) - quote (nested blocks)',- ja_JP: 'Adds a single content block to a notion page. multiple calls needed for multiple blocks. note: only supports adding to notion pages. blocks that can contain children: - page (any block type) - toggle (any nested content) - to-do (nested to-dos/blocks) - bulleted list (nested lists/blocks) - numbered list (nested lists/blocks) - callout (child blocks) - quote (nested blocks)',- },- parameters: [- {- name: 'after',- label: {- en_US: 'after',- zh_Hans: 'after',- pt_BR: 'after',- ja_JP: 'after',- },- placeholder: null,- scope: null,- auto_generate: null,- template: null,- required: false,- default: null,- min: null,- max: null,- precision: null,- options: [],- type: 'string',- human_description: {- en_US: 'The ID of the existing block that the new block should be appended after. If not provided, content will be appended at the end of the page.',- zh_Hans: 'The ID of the existing block that the new block should be appended after. If not provided, content will be appended at the end of the page.',- pt_BR: 'The ID of the existing block that the new block should be appended after. If not provided, content will be appended at the end of the page.',- ja_JP: 'The ID of the existing block that the new block should be appended after. If not provided, content will be appended at the end of the page.',- },- form: 'llm',- llm_description: 'The ID of the existing block that the new block should be appended after. If not provided, content will be appended at the end of the page.',- },- {- name: 'content_block',- label: {- en_US: 'content_block',- zh_Hans: 'content_block',- pt_BR: 'content_block',- ja_JP: 'content_block',- },- placeholder: null,- scope: null,- auto_generate: null,- template: null,- required: false,- default: null,- min: null,- max: null,- precision: null,- options: [],- type: 'string',- human_description: {- en_US: 'Child content to append to a page.',- zh_Hans: 'Child content to append to a page.',- pt_BR: 'Child content to append to a page.',- ja_JP: 'Child content to append to a page.',- },- form: 'llm',- llm_description: 'Child content to append to a page.',- },- {- name: 'parent_block_id',- label: {- en_US: 'parent_block_id',- zh_Hans: 'parent_block_id',- pt_BR: 'parent_block_id',- ja_JP: 'parent_block_id',- },- placeholder: null,- scope: null,- auto_generate: null,- template: null,- required: false,- default: null,- min: null,- max: null,- precision: null,- options: [],- type: 'string',- human_description: {- en_US: 'The ID of the page which the children will be added.',- zh_Hans: 'The ID of the page which the children will be added.',- pt_BR: 'The ID of the page which the children will be added.',- ja_JP: 'The ID of the page which the children will be added.',- },- form: 'llm',- llm_description: 'The ID of the page which the children will be added.',- },- ],- labels: [],- output_schema: null,- },-]--export const listData = [- {- id: 'fdjklajfkljadslf111',- author: 'KVOJJJin',- name: 'GOGOGO',- icon: 'https://cloud.dify.dev/console/api/workspaces/694cc430-fa36-4458-86a0-4a98c09c4684/model-providers/langgenius/openai/openai/icon_small/en_US',- server_url: 'https://mcp.composio.dev/notion/****/abc',- type: 'mcp',- is_team_authorization: true,- tools,- update_elapsed_time: 1744793369,- label: {- en_US: 'GOGOGO',- zh_Hans: 'GOGOGO',- },- },- {- id: 'fdjklajfkljadslf222',- author: 'KVOJJJin',- name: 'GOGOGO2',- icon: 'https://cloud.dify.dev/console/api/workspaces/694cc430-fa36-4458-86a0-4a98c09c4684/model-providers/langgenius/openai/openai/icon_small/en_US',- server_url: 'https://mcp.composio.dev/notion/****/abc',- type: 'mcp',- is_team_authorization: false,- tools: [],- update_elapsed_time: 1744793369,- label: {- en_US: 'GOGOGO2',- zh_Hans: 'GOGOGO2',- },- },- {- id: 'fdjklajfkljadslf333',- author: 'KVOJJJin',- name: 'GOGOGO3',- icon: 'https://cloud.dify.dev/console/api/workspaces/694cc430-fa36-4458-86a0-4a98c09c4684/model-providers/langgenius/openai/openai/icon_small/en_US',- server_url: 'https://mcp.composio.dev/notion/****/abc',- type: 'mcp',- is_team_authorization: true,- tools,- update_elapsed_time: 1744793369,- label: {- en_US: 'GOGOGO3',- zh_Hans: 'GOGOGO3',- },- },-]diff --git a/web/app/components/workflow/store/workflow/debug/mock-data.ts b/web/app/components/workflow/store/workflow/debug/mock-data.tsdeleted file mode 100644index 0bc5555d8c2..00000000000--- a/web/app/components/workflow/store/workflow/debug/mock-data.ts+++ /dev/null@@ -1,90 +0,0 @@-import { VarType } from '../../../types'-import type { VarInInspect } from '@/types/workflow'-import { VarInInspectType } from '@/types/workflow'--export const vars: VarInInspect[] = [- {- id: 'xxx',- type: VarInInspectType.node,- name: 'text00',- description: '',- selector: ['1745476079387', 'text'],- value_type: VarType.string,- value: 'text value...',- edited: false,- visible: true,- is_truncated: false,- full_content: { size_bytes: 0, download_url: '' },- },- {- id: 'fdklajljgldjglkagjlk',- type: VarInInspectType.node,- name: 'text',- description: '',- selector: ['1712386917734', 'text'],- value_type: VarType.string,- value: 'made zhizhang',- edited: false,- visible: true,- is_truncated: false,- full_content: { size_bytes: 0, download_url: '' },- },-]--export const conversationVars: VarInInspect[] = [- {- id: 'con1',- type: VarInInspectType.conversation,- name: 'conversationVar 1',- description: '',- selector: ['conversation', 'var1'],- value_type: VarType.string,- value: 'conversation var value...',- edited: false,- visible: true,- is_truncated: false,- full_content: { size_bytes: 0, download_url: '' },- },- {- id: 'con2',- type: VarInInspectType.conversation,- name: 'conversationVar 2',- description: '',- selector: ['conversation', 'var2'],- value_type: VarType.number,- value: 456,- edited: false,- visible: true,- is_truncated: false,- full_content: { size_bytes: 0, download_url: '' },- },-]--export const systemVars: VarInInspect[] = [- {- id: 'sys1',- type: VarInInspectType.system,- name: 'query',- description: '',- selector: ['sys', 'query'],- value_type: VarType.string,- value: 'Hello robot!',- edited: false,- visible: true,- is_truncated: false,- full_content: { size_bytes: 0, download_url: '' },- },- {- id: 'sys2',- type: VarInInspectType.system,- name: 'user_id',- description: '',- selector: ['sys', 'user_id'],- value_type: VarType.string,- value: 'djflakjerlkjdlksfjslakjsdfl',- edited: false,- visible: true,- is_truncated: false,- full_content: { size_bytes: 0, download_url: '' },- },-]