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

File thinking-stream.test.ts

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

Source from the content-addressed store, hash-verified

1import { describe, it, expect } from 'vitest';
2import { StreamDisplayFilter, stripThinkingForDisplay, stripLeakedToolTags, extractThinking } from '../src/llm/thinking.js';
3
4/** Feed `chunks` through the filter one at a time and return the concatenated visible output. */

Callers

nothing calls this directly

Calls 4

stripThinkingForDisplayFunction · 0.85
stripLeakedToolTagsFunction · 0.85
extractThinkingFunction · 0.85
runFunction · 0.70

Tested by

no test coverage detected