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

Function getReasoningEffortValuesForModel

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

Source from the content-addressed store, hash-verified

3605 * Returns the valid options for that model, or null if the model doesn't support reasoning effort
3606 */
3607export function getReasoningEffortValuesForModel(modelId: string): string[] | null {
3608 for (const provider of Object.values(PROVIDER_DEFINITIONS)) {
3609 const model = provider.models.find((m) => m.id.toLowerCase() === modelId.toLowerCase())
3610 if (model?.capabilities.reasoningEffort) {
3611 return model.capabilities.reasoningEffort.values
3612 }
3613 }
3614 return null
3615}
3616
3617export function getModelsWithVerbosity(): string[] {
3618 const models: string[] = []

Callers 1

agent.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected