UNPKG

@copilotkit/react-core

Version:

<img src="https://github.com/user-attachments/assets/0a6b64d9-e193-4940-a3f6-60334ac34084" alt="banner" style="border-radius: 12px; border: 2px solid #d6d4fa;" />

36 lines (34 loc) 639 B
import { useCopilotChatInternal } from "./chunk-LSHFN2Y5.mjs"; // src/hooks/use-copilot-chat.ts function useCopilotChat(options = {}) { const { visibleMessages, appendMessage, reloadMessages, stopGeneration, reset, isLoading, isAvailable, runChatCompletion, mcpServers, setMcpServers } = useCopilotChatInternal(options); return { visibleMessages, appendMessage, reloadMessages, stopGeneration, reset, isLoading, isAvailable, runChatCompletion, mcpServers, setMcpServers }; } export { useCopilotChat }; //# sourceMappingURL=chunk-53K6WNJG.mjs.map