(modelId: string)
| 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). */ |
| 63 | export function modelSupportsSoftSwitch(modelId: string): boolean { |
| 64 | return /qwen-?3/i.test(modelId); |
no outgoing calls
no test coverage detected