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

Struct mockAgentFunc

internal/controller/controller_test.go:498–500  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

496}
497
498type mockAgentFunc struct {
499 connectFunc func(ctx context.Context, conversationID string, execID string, start *proto.AgentStart, e agent.Executor, o agent.OutputHandler) error
500}
501
502func (m *mockAgentFunc) Connect(ctx context.Context, conversationID string, execID string, start *proto.AgentStart, e agent.Executor, o agent.OutputHandler) error {
503 return m.connectFunc(ctx, conversationID, execID, start, e, o)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected