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

Method ExecutionPlan

pkg/agent/agent.go:894–902  ·  view source on GitHub ↗

ExecutionPlan 返回执行计划管理器 首次调用时延迟初始化

()

Source from the content-addressed store, hash-verified

892// ExecutionPlan 返回执行计划管理器
893// 首次调用时延迟初始化
894func (a *Agent) ExecutionPlan() *ExecutionPlanManager {
895 a.mu.Lock()
896 defer a.mu.Unlock()
897
898 if a.executionPlanMgr == nil {
899 a.executionPlanMgr = NewExecutionPlanManager(a)
900 }
901 return a.executionPlanMgr
902}
903
904// Send 发送消息
905func (a *Agent) Send(ctx context.Context, text string) error {

Callers

nothing calls this directly

Calls 1

NewExecutionPlanManagerFunction · 0.85

Tested by

no test coverage detected