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

Function isFoundationModel

src/utils/model/bedrock.ts:181–183  ·  view source on GitHub ↗
(modelId: string)

Source from the content-addressed store, hash-verified

179 * Check if a model ID is a foundation model (e.g., "anthropic.claude-sonnet-4-5-20250929-v1:0")
180 */
181export function isFoundationModel(modelId: string): boolean {
182 return modelId.startsWith('anthropic.')
183}
184
185/**
186 * Cross-region inference profile prefixes for Bedrock.

Callers 2

applyBedrockRegionPrefixFunction · 0.85
countTokensWithBedrockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected