(ctx context.Context, req pluginapi.ModelRouteRequest)
| 356 | } |
| 357 | |
| 358 | func (a *rpcPluginAdapter) RouteModel(ctx context.Context, req pluginapi.ModelRouteRequest) (pluginapi.ModelRouteResponse, error) { |
| 359 | callbackID, closeCallback := a.openHostCallbackContext(ctx) |
| 360 | defer closeCallback() |
| 361 | return callPlugin[pluginapi.ModelRouteResponse](ctx, a.client, pluginabi.MethodModelRoute, rpcModelRouteRequest{ |
| 362 | ModelRouteRequest: req, |
| 363 | HostCallbackID: callbackID, |
| 364 | }) |
| 365 | } |
| 366 | |
| 367 | func callPluginIdentifier(client pluginClient, method string) string { |
| 368 | resp, errCall := callPlugin[rpcIdentifierResponse](context.Background(), client, method, rpcEmptyResponse{}) |
nothing calls this directly
no test coverage detected