MCPcopy Create free account
hub / github.com/QuantiaAI/helm-agents / createRouter

Function createRouter

packages/dataflows/src/router.ts:95–101  ·  view source on GitHub ↗
(
  config: ResolvedConfig,
  registry: VendorRegistry,
)

Source from the content-addressed store, hash-verified

93
94/** Bind config + registry into a simple route(method, ...args) function. */
95export function createRouter(
96 config: ResolvedConfig,
97 registry: VendorRegistry,
98): RouteFn {
99 return (method: DataMethod, ...args: unknown[]) =>
100 routeToVendor(method, { args }, config, registry);
101}

Callers 1

createEngineFunction · 0.90

Calls 1

routeToVendorFunction · 0.85

Tested by

no test coverage detected