Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astercloud/aster
/ addToolResultStep
Function
addToolResultStep
ui/src/stores/thinking.ts:91–97 ·
view source on GitHub ↗
(messageId: string, result: any)
Source
from the content-addressed store, hash-verified
89
* 添加工具结果步骤
90
*/
91
const
addToolResultStep = (messageId: string, result: any) => {
92
addStep(messageId, {
93
type
:
"tool_result"
,
94
result,
95
timestamp: Date.now(),
96
});
97
};
98
99
/**
100
* 添加决策步骤
Callers
nothing calls this directly
Calls
1
addStep
Function · 0.85
Tested by
no test coverage detected