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

Function handleToolIntermediate

ui/src/stores/tools.ts:83–93  ·  view source on GitHub ↗
(id: string, label: string, data: any)

Source from the content-addressed store, hash-verified

81 * 处理工具中间结果事件
82 */
83 const handleToolIntermediate = (id: string, label: string, data: any) => {
84 const prev = toolRuns.value.get(id);
85 if (prev) {
86 updateTool(id, {
87 intermediate: {
88 ...(prev.intermediate || {}),
89 [label]: data,
90 },
91 });
92 }
93 };
94
95 /**
96 * 处理工具结束事件

Callers

nothing calls this directly

Calls 2

updateToolFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected