Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Send follow-up messages to the conversation.
import { useSendMessage } from 'sunpeak';
function useSendMessage(): (params: SendMessageParams) => Promise<void>
import { useSendMessage } from 'sunpeak'; function MyResource() { const sendMessage = useSendMessage(); const handleFollowUp = async () => { await sendMessage({ role: 'user', content: [{ type: 'text', text: 'Show me more details' }], }); }; return <button onClick={handleFollowUp}>Ask for Details</button>; }