MCPcopy Create free account
hub / github.com/simstudioai/sim / getProviderPrefixes

Function getProviderPrefixes

apps/sim/app/(landing)/models/utils.ts:234–236  ·  view source on GitHub ↗
(providerId: string)

Source from the content-addressed store, hash-verified

232}
233
234function getProviderPrefixes(providerId: string): string[] {
235 return PROVIDER_PREFIXES[providerId] ?? [`${providerId}/`]
236}
237
238function stripProviderPrefix(providerId: string, modelId: string): string {
239 for (const prefix of getProviderPrefixes(providerId)) {

Callers 1

stripProviderPrefixFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected