Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
remove title
  • Loading branch information
icecrasher321 committed Mar 19, 2026
commit a36f390c4ecf8d26ea321265c5d98754ac580c88
4 changes: 1 addition & 3 deletions apps/sim/lib/copilot/orchestrator/tool-executor/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ function validateOpenResourceParams(
params: {
type: params.type,
id: params.id,
...(params.title ? { title: params.title } : {}),
},
}
}
Comment thread
icecrasher321 marked this conversation as resolved.
Expand Down Expand Up @@ -1039,7 +1038,6 @@ const SIM_WORKFLOW_TOOL_HANDLERS: Record<
const params = validated.params
const resourceType = params.type
const resourceId = params.id
const resourceTitle = params.title || resourceType

return {
success: true,
Expand All @@ -1048,7 +1046,7 @@ const SIM_WORKFLOW_TOOL_HANDLERS: Record<
{
type: resourceType as 'workflow' | 'table' | 'knowledgebase' | 'file',
id: resourceId,
title: resourceTitle,
title: resourceType,
},
],
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,9 @@ export type OpenResourceType = 'workflow' | 'table' | 'knowledgebase' | 'file'
export interface OpenResourceParams {
type?: OpenResourceType
id?: string
title?: string
}

export interface ValidOpenResourceParams {
type: OpenResourceType
id: string
title?: string
}
Loading