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

Method makeToolReporter

pkg/agent/agent.go:1484–1490  ·  view source on GitHub ↗

makeToolReporter 创建工具执行 Reporter

(callID, toolName string)

Source from the content-addressed store, hash-verified

1482
1483// makeToolReporter 创建工具执行 Reporter
1484func (a *Agent) makeToolReporter(callID, toolName string) tools.Reporter {
1485 return &toolReporter{
1486 agent: a,
1487 callID: callID,
1488 toolName: toolName,
1489 }
1490}
1491
1492// handleToolProgress 处理进度事件并推送到总线
1493func (a *Agent) handleToolProgress(callID, toolName string, progress float64, message string, step, total int, metadata map[string]any, etaMs int64) {

Callers 1

executeSingleToolMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected