MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / isReasoningModel

Function isReasoningModel

packages/core/src/ai/thinking.ts:239–241  ·  view source on GitHub ↗
(provider: string, modelId: string)

Source from the content-addressed store, hash-verified

237 * Used by: buildPiModel to set `PiModel.reasoning`.
238 */
239export function isReasoningModel(provider: string, modelId: string): boolean {
240 return classifyThinkingType(provider, modelId) !== 'none'
241}
242
243/**
244 * PiModel compat fragment that makes the chosen thinkingLevel actually reach

Callers 3

thinking.test.tsFile · 0.90
inferReasoningFunction · 0.90
buildPiModelFunction · 0.90

Calls 1

classifyThinkingTypeFunction · 0.85

Tested by

no test coverage detected