fix(chat): match question tool name exactly

Use an exact-match comparison for the question tool name instead of
toLowerCase(), matching the convention used elsewhere in this file.
This commit is contained in:
Bohdan Triapitsyn
2026-08-29 00:27:06 +03:00
parent 340e20f996
commit 5fd86a420d
@@ -105,7 +105,7 @@ export const projectTurnActivity = (input: ProjectActivityInput): ProjectActivit
const messageHasQuestion = message.parts.some((part) => (
part.type === 'tool'
&& typeof part.tool === 'string'
&& part.tool.toLowerCase() === 'question'
&& part.tool === 'question'
));
const messageIsCompactionSummary = isCompactionSummaryMessage(message);