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

Function addApprovalStep

ui/src/stores/thinking.ts:113–119  ·  view source on GitHub ↗
(messageId: string, toolName: string, args: any)

Source from the content-addressed store, hash-verified

111 * 添加审批步骤
112 */
113 const addApprovalStep = (messageId: string, toolName: string, args: any) => {
114 addStep(messageId, {
115 type: "approval",
116 tool: { name: toolName, args },
117 timestamp: Date.now(),
118 });
119 };
120
121 /**
122 * 添加会话摘要步骤

Callers

nothing calls this directly

Calls 1

addStepFunction · 0.85

Tested by

no test coverage detected