MCPcopy Create free account
hub / github.com/experdot/pointer / useStreamingMessages

Function useStreamingMessages

src/renderer/src/stores/messagesStore.ts:686–688  ·  view source on GitHub ↗
(chatId: string)

Source from the content-addressed store, hash-verified

684
685// 自定义 hook 用于订阅整个聊天的流式消息状态
686export const useStreamingMessages = (chatId: string) => {
687 return useMessagesStore((state) => state.streamingMessages[chatId] || {})
688}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected