MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / thinking-control.test.ts

File thinking-control.test.ts

test/thinking-control.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, it, expect } from 'vitest';
2import {
3 decideThinking, applyThinkingDecision, countTrailingToolErrors, modelSupportsSoftSwitch,
4} from '../src/agent/thinking-control.js';

Callers

nothing calls this directly

Calls 4

decideThinkingFunction · 0.85
modelSupportsSoftSwitchFunction · 0.85
countTrailingToolErrorsFunction · 0.85
applyThinkingDecisionFunction · 0.85

Tested by

no test coverage detected