MCPcopy Create free account
hub / github.com/astercloud/aster / handleToolError

Function handleToolError

ui/src/stores/tools.ts:110–115  ·  view source on GitHub ↗
(id: string, error: string)

Source from the content-addressed store, hash-verified

108 * 处理工具错误事件
109 */
110 const handleToolError = (id: string, error: string) => {
111 updateTool(id, {
112 state: "failed",
113 error,
114 });
115 };
116
117 /**
118 * 处理工具取消事件

Callers

nothing calls this directly

Calls 1

updateToolFunction · 0.85

Tested by

no test coverage detected