feat(chat): add conversation selection and enhance message rendering

- Add currentConversationId prop to ChatContainer for loading selected conversations
- Implement logic to load messages when conversation is selected and clear when deselected
- Improve user message rendering with proper whitespace handling
- Enhance MarkdownRenderer with content normalization and adjusted spacing for better readability
- Add paragraph styling to markdown output for improved layout

This enables users to switch between conversations seamlessly and provides cleaner message display.
This commit is contained in:
Evandro Fonseca Junior committed 2025-10-28 14:40:34 -03:00
1 parent 0cc7a81319
commit d5dd3a9f09
11 files changed
+54 -13

No files matched your search

+3 -1
View File
@@ -91,7 +91,9 @@ export async function ensureModelExists(
} else if (chunk.status === "success") {
console.log(`\n✅ Modelo ${modelName} baixado com sucesso!`);
if (description) {
console.log(`🎯 ${description.replace("será usado", "agora funciona")}`);
console.log(
`🎯 ${description.replace("será usado", "agora funciona")}`
);
}
break;
}