mirror of
https://github.com/langgenius/dify.git
synced 2026-01-08 07:14:14 +00:00
28 lines
593 B
TypeScript
28 lines
593 B
TypeScript
import { BlockEnum } from '../../types'
|
|
import type { ToolNodeType } from './types'
|
|
import { VarType } from './types'
|
|
|
|
export const mockData: ToolNodeType = {
|
|
title: 'Tool',
|
|
desc: 'Test',
|
|
type: BlockEnum.Tool,
|
|
provider_id: 'test',
|
|
provider_type: 'builtin',
|
|
provider_name: 'test',
|
|
tool_name: 'test',
|
|
tool_label: 'test',
|
|
tool_inputs: [
|
|
{
|
|
variable: 'size',
|
|
variable_type: VarType.selector,
|
|
value_selector: ['aaa', 'name'],
|
|
},
|
|
{
|
|
variable: 'quality',
|
|
variable_type: VarType.static,
|
|
value: 'HD',
|
|
},
|
|
],
|
|
tool_parameters: {},
|
|
}
|