From 6d82ad4fb10f7015059b1b2cbcf72e8a949e83fa Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期一, 23 十二月 2024 11:42:34 +0800 Subject: [PATCH] 模型选择 --- src/components/vue-flow/vueFlowEnum.ts | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/components/vue-flow/vueFlowEnum.ts b/src/components/vue-flow/vueFlowEnum.ts index a0c03c8..ec1799e 100644 --- a/src/components/vue-flow/vueFlowEnum.ts +++ b/src/components/vue-flow/vueFlowEnum.ts @@ -17,8 +17,11 @@ Condition = 'condition', Knowledge = 'knowledge', Output = 'output_msg', - Agent='agent', - Func='func', + Agent = 'agent', + Func = 'func', + Code = 'code', + TextResource = 'text_resource', + Analysis = 'analysis', } export const nodeTypeMap = { @@ -30,7 +33,9 @@ [NodeType.Output]: '瀵硅瘽', [NodeType.Agent]: '浠g悊', [NodeType.Func]: '鎵ц鍔熻兘', - + [NodeType.Code]: '浠g爜', + [NodeType.TextResource]: '鏂囨湰璧勬簮', + [NodeType.Analysis]: '鍒嗘瀽', }; export const enum CompareOperation { -- Gitblit v1.9.3