MCPcopy Index your code
hub / github.com/codeaashu/claude-code / findFirstMatch

Function findFirstMatch

src/utils/model/bedrock.ts:43–48  ·  view source on GitHub ↗
(
  profiles: string[],
  substring: string,
)

Source from the content-addressed store, hash-verified

41})
42
43export function findFirstMatch(
44 profiles: string[],
45 substring: string,
46): string | null {
47 return profiles.find(p => p.includes(substring)) ?? null
48}
49
50async function createBedrockClient() {
51 const { BedrockClient } = await import('@aws-sdk/client-bedrock')

Callers 1

getBedrockModelStringsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected