Show image previews in optimistic user messages

This commit is contained in:
Mohamed Boudra
2026-02-16 12:19:38 +07:00
parent 75dc802a3a
commit f8f4c55976
10 changed files with 294 additions and 20 deletions
@@ -198,6 +198,7 @@ export function AgentInputArea({
id: messageId,
text,
timestamp: new Date(),
...(images && images.length > 0 ? { images } : {}),
};
// Append to head if streaming (keeps the user message with the current