feat(FN-2911): merge fusion/fn-2911

This commit is contained in:
gsxdsm
2026-04-28 23:34:12 -07:00
parent 898bbcb20c
commit 5ef5efd7cd

View File

@@ -419,7 +419,11 @@ export function useChat(projectId?: string): UseChatReturn {
setPendingMessage("");
}, []);
// Send a message
/**
* Send a user message to the active chat session.
* @param content Message text content to send.
* @param attachments Optional files to upload with the message in the same request.
*/
const sendMessage = useCallback(
(content: string, attachments?: File[]) => {
if (!activeSession) return;