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

Function getModelsWithTemperatureRange

apps/sim/providers/models.ts:3396–3406  ·  view source on GitHub ↗
(max: number)

Source from the content-addressed store, hash-verified

3394}
3395
3396export function getModelsWithTemperatureRange(max: number): string[] {
3397 const models: string[] = []
3398 for (const provider of Object.values(PROVIDER_DEFINITIONS)) {
3399 for (const model of provider.models) {
3400 if (model.capabilities.temperature?.max === max) {
3401 models.push(model.id)
3402 }
3403 }
3404 }
3405 return models
3406}
3407
3408export function getProvidersWithToolUsageControl(): string[] {
3409 const providers: string[] = []

Callers 1

utils.tsFile · 0.90

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected