MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / modelSupportsSoftSwitch

Function modelSupportsSoftSwitch

src/agent/thinking-control.ts:59–61  ·  view source on GitHub ↗
(modelId: string)

Source from the content-addressed store, hash-verified

57 if (ctx.iteration <= 1) return 'think';
58 if (ctx.taskComplex && every > 0 && ctx.iteration % every === 0) return 'think';
59 return 'no_think';
60}
61
62/** Soft switches are trained behavior of the Qwen3 family (incl. 3.5). */
63export function modelSupportsSoftSwitch(modelId: string): boolean {
64 return /qwen-?3/i.test(modelId);

Callers 3

runMethod · 0.85
applyThinkingDecisionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected