MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / Pick

Method Pick

internal/pluginhost/rpc_client.go:354–356  ·  view source on GitHub ↗
(ctx context.Context, req pluginapi.SchedulerPickRequest)

Source from the content-addressed store, hash-verified

352}
353
354func (a *rpcPluginAdapter) Pick(ctx context.Context, req pluginapi.SchedulerPickRequest) (pluginapi.SchedulerPickResponse, error) {
355 return callPlugin[pluginapi.SchedulerPickResponse](ctx, a.client, pluginabi.MethodSchedulerPick, req)
356}
357
358func (a *rpcPluginAdapter) RouteModel(ctx context.Context, req pluginapi.ModelRouteRequest) (pluginapi.ModelRouteResponse, error) {
359 callbackID, closeCallback := a.openHostCallbackContext(ctx)

Callers

nothing calls this directly

Calls 1

callPluginFunction · 0.85

Tested by

no test coverage detected