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

Function getModelsWithThinking

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

Source from the content-addressed store, hash-verified

3687 * Get all models that support thinking capability
3688 */
3689export function getModelsWithThinking(): string[] {
3690 const models: string[] = []
3691 for (const provider of Object.values(PROVIDER_DEFINITIONS)) {
3692 for (const model of provider.models) {
3693 if (model.capabilities.thinking) {
3694 models.push(model.id)
3695 }
3696 }
3697 }
3698 return models
3699}
3700
3701/**
3702 * Get the thinking levels for a specific model

Callers 2

utils.tsFile · 0.90
agent.tsFile · 0.90

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected