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