master
useFileUpload
export const useFileUpload = () => { const chat = useChat(); if (!chat) { throw new Error('No ChatContext provided'); }