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

Function getVerbosityValuesForModel

apps/sim/providers/models.ts:3633–3641  ·  view source on GitHub ↗
(modelId: string)

Source from the content-addressed store, hash-verified

3631 * Returns the valid options for that model, or null if the model doesn't support verbosity
3632 */
3633export function getVerbosityValuesForModel(modelId: string): string[] | null {
3634 for (const provider of Object.values(PROVIDER_DEFINITIONS)) {
3635 const model = provider.models.find((m) => m.id.toLowerCase() === modelId.toLowerCase())
3636 if (model?.capabilities.verbosity) {
3637 return model.capabilities.verbosity.values
3638 }
3639 }
3640 return null
3641}
3642
3643/**
3644 * Check if a model supports native structured outputs.

Callers 1

agent.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected