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

Function toolWatchdogTimeoutMs

apps/sim/lib/copilot/request/tools/executor.ts:243–247  ·  view source on GitHub ↗
(toolName: string | undefined)

Source from the content-addressed store, hash-verified

241])
242
243export function toolWatchdogTimeoutMs(toolName: string | undefined): number {
244 return toolName && LONG_RUNNING_TOOL_IDS.has(toolName)
245 ? TOOL_WATCHDOG_LONG_RUNNING_MS
246 : TOOL_WATCHDOG_DEFAULT_MS
247}
248
249class ToolExecutionTimeoutError extends Error {
250 constructor(toolName: string, timeoutMs: number) {

Callers 2

runCheckpointLoopFunction · 0.90
executeToolWithWatchdogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected