MCPcopy Create free account
hub / github.com/dwgx/WindsurfAPI / shouldUseNativeBridge

Function shouldUseNativeBridge

src/cascade-native-bridge.js:1516–1525  ·  view source on GitHub ↗
(tools, { modelKey = '', model = '', provider = '', route = '', callerKey = '' } = {})

Source from the content-addressed store, hash-verified

1514}
1515
1516export function shouldUseNativeBridge(tools, { modelKey = '', model = '', provider = '', route = '', callerKey = '' } = {}) {
1517 return getNativeBridgeDecision(tools, {
1518 modelKey,
1519 model,
1520 provider,
1521 route,
1522 callerKey,
1523 useCascade: true,
1524 }).enabled;
1525}

Calls 1

getNativeBridgeDecisionFunction · 0.85

Tested by

no test coverage detected