MCPcopy Index your code
hub / github.com/simstudioai/sim / getProviderDefaultModel

Function getProviderDefaultModel

apps/sim/providers/models.ts:3348–3350  ·  view source on GitHub ↗
(providerId: string)

Source from the content-addressed store, hash-verified

3346}
3347
3348export function getProviderDefaultModel(providerId: string): string {
3349 return PROVIDER_DEFINITIONS[providerId]?.defaultModel || ''
3350}
3351
3352export function getModelPricing(modelId: string): ModelPricing | null {
3353 for (const provider of Object.values(PROVIDER_DEFINITIONS)) {

Callers 15

index.tsFile · 0.90
index.tsFile · 0.90
index.tsFile · 0.90
index.tsFile · 0.90
index.tsFile · 0.90
index.tsFile · 0.90
index.tsFile · 0.90
index.tsFile · 0.90
index.tsFile · 0.90
index.tsFile · 0.90
index.tsFile · 0.90
index.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected