File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
apps/sim/executor/handlers/agent Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -319,15 +319,14 @@ export class AgentBlockHandler implements BlockHandler {
319319 private async fetchCustomToolById (
320320 ctx : ExecutionContext ,
321321 customToolId : string
322- ) : Promise < { schema : any ; code : string ; title : string } | null > {
322+ ) : Promise < { schema : any ; title : string } | null > {
323323 if ( typeof window !== 'undefined' ) {
324324 try {
325325 const { getCustomTool } = await import ( '@/hooks/queries/custom-tools' )
326326 const tool = getCustomTool ( customToolId , ctx . workspaceId )
327327 if ( tool ) {
328328 return {
329329 schema : tool . schema ,
330- code : tool . code || '' ,
331330 title : tool . title ,
332331 }
333332 }
@@ -376,7 +375,6 @@ export class AgentBlockHandler implements BlockHandler {
376375
377376 return {
378377 schema : tool . schema ,
379- code : tool . code || '' ,
380378 title : tool . title ,
381379 }
382380 } catch ( error ) {
You can’t perform that action at this time.
0 commit comments