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

Method prepareInputMessage

pkg/workflow/actor_engine.go:623–631  ·  view source on GitHub ↗
(execution *WorkflowExecution, node *NodeDef)

Source from the content-addressed store, hash-verified

621}
622
623func (c *CoordinatorActor) prepareInputMessage(execution *WorkflowExecution, node *NodeDef) (string, error) {
624 // 简化实现
625 if len(execution.Context.Inputs) > 0 {
626 if input, ok := execution.Context.Inputs["message"].(string); ok {
627 return input, nil
628 }
629 }
630 return "", nil
631}
632
633// ============== 协调器消息类型 ==============
634

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected