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

Struct mockExecutor

internal/gemini/gemini_planner_test.go:150–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected