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

Function getModelsWithTemperatureSupport

apps/sim/providers/models.ts:3384–3394  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3382}
3383
3384export function getModelsWithTemperatureSupport(): string[] {
3385 const models: string[] = []
3386 for (const provider of Object.values(PROVIDER_DEFINITIONS)) {
3387 for (const model of provider.models) {
3388 if (model.capabilities.temperature) {
3389 models.push(model.id)
3390 }
3391 }
3392 }
3393 return models
3394}
3395
3396export function getModelsWithTemperatureRange(max: number): string[] {
3397 const models: string[] = []

Callers 1

utils.tsFile · 0.90

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected