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

Function handleToolEnd

ui/src/stores/tools.ts:98–105  ·  view source on GitHub ↗
(call: ToolCallSnapshot)

Source from the content-addressed store, hash-verified

96 * 处理工具结束事件
97 */
98 const handleToolEnd = (call: ToolCallSnapshot) => {
99 toolRuns.value.set(call.id, {
100 ...call,
101 state: "completed",
102 progress: 1,
103 updated_at: new Date().toISOString(),
104 });
105 };
106
107 /**
108 * 处理工具错误事件

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected