fix(frontend): UI does not display triggered microagent knowledge well. (#10277)

This commit is contained in:
Hiep Le 2025-08-13 13:31:05 +07:00 committed by GitHub
parent 4e3a862571
commit 11f364c5e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -83,7 +83,7 @@ const getRecallObservationContent = (event: RecallObservation): string => {
) {
content += `\n\n**Triggered Microagent Knowledge:**`;
for (const knowledge of event.extras.microagent_knowledge) {
content += `\n\n- **${knowledge.name}** (triggered by keyword: ${knowledge.trigger})\n\n\`\`\`\n${knowledge.content}\n\`\`\``;
content += `\n\n- **${knowledge.name}** (triggered by keyword: ${knowledge.trigger})\n\n${knowledge.content}`;
}
}