MCPcopy Index your code
hub / github.com/simstudioai/sim / cancelledCompletion

Function cancelledCompletion

apps/sim/lib/copilot/request/tools/executor.ts:336–342  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

334}
335
336function cancelledCompletion(message: string): AsyncToolCompletion {
337 return buildCompletionSignal({
338 status: MothershipStreamV1ToolOutcome.cancelled,
339 message,
340 data: { cancelled: true },
341 })
342}
343
344function terminalCompletionFromToolCall(toolCall: ToolCallState): AsyncToolCompletion {
345 if (toolCall.status === MothershipStreamV1ToolOutcome.cancelled) {

Callers 2

Calls 1

buildCompletionSignalFunction · 0.85

Tested by

no test coverage detected