| 148 | } |
| 149 | |
| 150 | type mockExecutor struct { |
| 151 | execFunc func(ctx context.Context, conversationID string, execID string, start *proto.AgentStart, o agent.OutputHandler) (proto.State, error) |
| 152 | } |
| 153 | |
| 154 | func (m *mockExecutor) Exec(ctx context.Context, conversationID string, execID string, start *proto.AgentStart, o agent.OutputHandler) (proto.State, error) { |
| 155 | if m.execFunc != nil { |
nothing calls this directly
no outgoing calls
no test coverage detected