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

Function cleanForDisplay

src/cli/modes/final-dedupe.ts:32–32  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

30}
31
32const cleanForDisplay = (s: string) => stripLeakedToolTags(extractThinking(s).visibleText);
33const normCompare = (s: string) => cleanForDisplay(s).replace(/\s+/g, ' ').trim();
34
35export function dedupeFinalAgainstStreamed(rawFinal: string, streamedThisTurn: string): FinalDedupeDecision {

Callers 2

normCompareFunction · 0.85

Calls 2

stripLeakedToolTagsFunction · 0.85
extractThinkingFunction · 0.85

Tested by

no test coverage detected