MCPcopy
hub / github.com/coder/mux / createIsConfigured

Function createIsConfigured

src/common/routing/resolve.test.ts:13–16  ·  view source on GitHub ↗
(configuredProviders: string[])

Source from the content-addressed store, hash-verified

11const EXPLICIT_COPILOT_MODEL = "github-copilot:gpt-5.5";
12
13function createIsConfigured(configuredProviders: string[]): (provider: string) => boolean {
14 const configuredSet = new Set(configuredProviders);
15 return (provider: string): boolean => configuredSet.has(provider);
16}
17
18function createIsGatewayModelAccessible(
19 inaccessibleGatewayModels: Array<[gateway: string, modelId: string]>

Callers 2

resolve.test.tsFile · 0.85

Calls 1

hasMethod · 0.45

Tested by

no test coverage detected