File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ export const getSystemPluginByIdAndVersionId = async (
112
112
}
113
113
114
114
const version = versionId
115
- ? ( versionList . find ( ( item ) => item . value === versionId ) ?? versionList [ 0 ] )
115
+ ? versionList . find ( ( item ) => item . value === versionId ) ?? versionList [ 0 ]
116
116
: versionList [ 0 ] ;
117
117
const lastVersion = versionList [ 0 ] ;
118
118
@@ -271,7 +271,7 @@ export async function getChildAppPreviewNode({
271
271
]
272
272
: [ ] )
273
273
]
274
- : ( app . inputs ?? [ ] ) ,
274
+ : app . inputs ?? [ ] ,
275
275
outputs : app . outputs ?? [ ] ,
276
276
toolConfig : {
277
277
...( app . isFolder
@@ -545,6 +545,7 @@ export const getSystemTools = async (): Promise<SystemPluginTemplateItemType[]>
545
545
nodes : [ ] ,
546
546
edges : [ ]
547
547
} ,
548
+ versionList,
548
549
inputs,
549
550
outputs,
550
551
inputList :
Original file line number Diff line number Diff line change @@ -198,8 +198,7 @@ export const dispatchRunTool = async (props: RunToolProps): Promise<RunToolRespo
198
198
toolRes : result ,
199
199
moduleLogo : avatar
200
200
} ,
201
- [ DispatchNodeResponseKeyEnum . toolResponses ] : result ,
202
- [ NodeOutputKeyEnum . rawResponse ] : result
201
+ [ DispatchNodeResponseKeyEnum . toolResponses ] : result
203
202
} ;
204
203
} else {
205
204
// mcp tool (old version compatible)
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ export const dispatchRunPlugin = async (props: RunPluginProps): Promise<RunPlugi
81
81
per : ReadPermissionVal
82
82
} ) ;
83
83
84
- plugin = await getChildAppRuntimeById ( pluginId , version ) ;
84
+ plugin = await getChildAppRuntimeById ( { id : pluginId , versionId : version } ) ;
85
85
86
86
const outputFilterMap =
87
87
plugin . nodes
You can’t perform that action at this time.
0 commit comments