Skip to content

Commit 41aaf07

Browse files
authored
Parse mentions from all user inputs (RooCodeInc#6331)
1 parent e956174 commit 41aaf07

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/core/mentions/processUserContentMentions.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@ export async function processUserContentMentions({
3939
// should parse mentions).
4040
return Promise.all(
4141
userContent.map(async (block) => {
42-
const shouldProcessMentions = (text: string) => text.includes("<task>") || text.includes("<feedback>")
42+
const shouldProcessMentions = (text: string) =>
43+
text.includes("<task>") ||
44+
text.includes("<feedback>") ||
45+
text.includes("<answer>") ||
46+
text.includes("<user_message>")
4347

4448
if (block.type === "text") {
4549
if (shouldProcessMentions(block.text)) {

0 commit comments

Comments
 (0)