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

Function getProviderIcon

apps/sim/providers/models.ts:3343–3346  ·  view source on GitHub ↗
(model: string)

Source from the content-addressed store, hash-verified

3341}
3342
3343export function getProviderIcon(model: string): React.ComponentType<{ className?: string }> | null {
3344 const providerId = getProviderFromModel(model)
3345 return PROVIDER_DEFINITIONS[providerId]?.icon || null
3346}
3347
3348export function getProviderDefaultModel(providerId: string): string {
3349 return PROVIDER_DEFINITIONS[providerId]?.defaultModel || ''

Callers 1

getModelOptionsFunction · 0.90

Calls 1

getProviderFromModelFunction · 0.70

Tested by

no test coverage detected