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

Method RegisterModels

internal/pluginhost/rpc_client.go:337–339  ·  view source on GitHub ↗
(ctx context.Context, req pluginapi.ModelRegistrationRequest)

Source from the content-addressed store, hash-verified

335}
336
337func (a *rpcPluginAdapter) RegisterModels(ctx context.Context, req pluginapi.ModelRegistrationRequest) (pluginapi.ModelRegistrationResponse, error) {
338 return callPlugin[pluginapi.ModelRegistrationResponse](ctx, a.client, pluginabi.MethodModelRegister, req)
339}
340
341func (a *rpcPluginAdapter) StaticModels(ctx context.Context, req pluginapi.StaticModelRequest) (pluginapi.ModelResponse, error) {
342 return callPlugin[pluginapi.ModelResponse](ctx, a.client, pluginabi.MethodModelStatic, req)

Callers

nothing calls this directly

Calls 1

callPluginFunction · 0.85

Tested by

no test coverage detected