MCPcopy
hub / github.com/google/ax / DefaultExecutor

Function DefaultExecutor

internal/controller/executor/executor.go:43–49  ·  view source on GitHub ↗
(eventLog EventLog, registry map[string]agent.Agent)

Source from the content-addressed store, hash-verified

41}
42
43func DefaultExecutor(eventLog EventLog, registry map[string]agent.Agent) agent.Executor {
44 return &defaultExecutor{
45 execID: "",
46 eventLog: eventLog,
47 registry: registry,
48 }
49}
50
51func (de *defaultExecutor) Exec(ctx context.Context, conversationID string, execID string, start *proto.AgentStart, o agent.OutputHandler) (proto.State, error) {
52 execID = newExecID(de.execID, execID)

Callers 9

executeMethod · 0.92
ExampleFunction · 0.85
TestTaskManagerFunction · 0.85
TestFanoutFunction · 0.85
TestConfirmationFunction · 0.85
TestResumeFunction · 0.85
TestResumeConfirmationFunction · 0.85

Calls

no outgoing calls

Tested by 8

ExampleFunction · 0.68
TestTaskManagerFunction · 0.68
TestFanoutFunction · 0.68
TestConfirmationFunction · 0.68
TestResumeFunction · 0.68
TestResumeConfirmationFunction · 0.68