MCPcopy Create free account
hub / github.com/InferCore/InferCore / Invoke

Method Invoke

internal/server/server_test.go:948–950  ·  view source on GitHub ↗
(context.Context, types.BackendRequest)

Source from the content-addressed store, hash-verified

946func (a *alwaysUnhealthyAdapter) Name() string { return a.name }
947
948func (a *alwaysUnhealthyAdapter) Invoke(context.Context, types.BackendRequest) (types.BackendResponse, error) {
949 return types.BackendResponse{}, fmt.Errorf("unhealthy adapter should not be invoked in this test")
950}
951
952func (a *alwaysUnhealthyAdapter) Health(context.Context) error {
953 return fmt.Errorf("unhealthy")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected