MCPcopy Index your code
hub / github.com/TanStack/ai / needsNgrokBridge

Function needsNgrokBridge

examples/sandbox-web/src/sandbox-agent.ts:243–245  ·  view source on GitHub ↗
(provider: ProviderName)

Source from the content-addressed store, hash-verified

241
242/** Route the bridge through ngrok for remote providers when configured. */
243export function needsNgrokBridge(provider: ProviderName): boolean {
244 return !usesToolBridge(provider) && ngrokConfigured()
245}
246
247/**
248 * System-prompt guidance for local-process: the real workspace is a host temp dir,

Callers 1

api.run.tsFile · 0.90

Calls 2

ngrokConfiguredFunction · 0.90
usesToolBridgeFunction · 0.85

Tested by

no test coverage detected