Skip to content

The agent that grows with you

test(desktop): reasoning tests follow the sibling naming

kshitijk4poor43f94bc1c413
diff --git a/apps/desktop/src/components/assistant-ui/streaming-text-fidelity.test.tsx b/apps/desktop/src/components/assistant-ui/markdown-text.reasoning.test.tsx
similarity index 100%
rename from apps/desktop/src/components/assistant-ui/streaming-text-fidelity.test.tsx
rename to apps/desktop/src/components/assistant-ui/markdown-text.reasoning.test.tsx
diff --git a/apps/desktop/src/lib/markdown-reasoning-stream.test.ts b/apps/desktop/src/lib/markdown-preprocess.reasoning.test.ts
similarity index 100%
rename from apps/desktop/src/lib/markdown-reasoning-stream.test.ts
rename to apps/desktop/src/lib/markdown-preprocess.reasoning.test.ts
diff --git a/apps/desktop/src/lib/markdown-preprocess.ts b/apps/desktop/src/lib/markdown-preprocess.ts
index e54b250d0c2..71da4def762 100644
--- a/apps/desktop/src/lib/markdown-preprocess.ts
+++ b/apps/desktop/src/lib/markdown-preprocess.ts
@@ -7,8 +7,8 @@ import { previewMarkdownHref } from '@/lib/preview-targets'
import { stripPreviewTargets } from '@/lib/preview-targets'
import { linkifySessionRefs } from '@/lib/session-refs'
-// Same tag set as agent/think_scrubber.py THINK_TAG_NAMES, plus the desktop-only
-// `scratchpad`/`analysis` that were already stripped here before the two lists met.
+// Same tag set as agent/think_scrubber.py THINK_TAG_NAMES, plus desktop-only
+// `scratchpad`/`analysis`.
const REASONING_TAGS = 'think|thinking|reasoning|thought|reasoning_scratchpad|scratchpad|analysis'
// A run of adjacent closed blocks is one match, so the seam check below sees the
// prose on either side of the whole run rather than the previous block's `>`.