(eventLog EventLog, registry map[string]agent.Agent)
| 41 | } |
| 42 | |
| 43 | func DefaultExecutor(eventLog EventLog, registry map[string]agent.Agent) agent.Executor { |
| 44 | return &defaultExecutor{ |
| 45 | execID: "", |
| 46 | eventLog: eventLog, |
| 47 | registry: registry, |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | func (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) |
no outgoing calls