From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +0800
Subject: [PATCH] 修改
---
app/components/base/prompt-editor/types.ts | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/app/components/base/prompt-editor/types.ts b/app/components/base/prompt-editor/types.ts
index 0f09fb2..6d0f307 100644
--- a/app/components/base/prompt-editor/types.ts
+++ b/app/components/base/prompt-editor/types.ts
@@ -1,10 +1,8 @@
-import type { Type } from '../../workflow/nodes/llm/types'
import type { Dataset } from './plugins/context-block'
import type { RoleName } from './plugins/history-block'
import type {
Node,
NodeOutPutVar,
- ValueSelector,
} from '@/app/components/workflow/types'
export type Option = {
@@ -56,18 +54,12 @@
onAddExternalTool?: () => void
}
-export type GetVarType = (payload: {
- nodeId: string,
- valueSelector: ValueSelector,
-}) => Type
-
export type WorkflowVariableBlockType = {
show?: boolean
variables?: NodeOutPutVar[]
workflowNodesMap?: Record<string, Pick<Node['data'], 'title' | 'type'>>
onInsert?: () => void
onDelete?: () => void
- getVarType?: GetVarType
}
export type MenuTextMatch = {
--
Gitblit v1.8.0