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

Method AgenticExecuteStream

pkg/workflow/workflow_agent.go:364–369  ·  view source on GitHub ↗

AgenticExecuteStream Agentic 方式流式执行

(ctx context.Context, agent *WorkflowAgent, input string)

Source from the content-addressed store, hash-verified

362
363// AgenticExecuteStream Agentic 方式流式执行
364func (wf *Workflow) AgenticExecuteStream(ctx context.Context, agent *WorkflowAgent, input string) <-chan AgentStreamEvent {
365 if agent.GetWorkflow() == nil {
366 agent.AttachWorkflow(wf)
367 }
368 return agent.RunStream(ctx, input)
369}

Callers

nothing calls this directly

Calls 3

AttachWorkflowMethod · 0.80
RunStreamMethod · 0.80
GetWorkflowMethod · 0.45

Tested by

no test coverage detected