MCPcopy Index your code
hub / github.com/coder/coder / chatMessagesKey

Function chatMessagesKey

site/src/api/queries/chats.ts:23–24  ·  view source on GitHub ↗
(chatId: string)

Source from the content-addressed store, hash-verified

21export const chatsKey = ["chats"] as const;
22export const chatKey = (chatId: string) => ["chats", chatId] as const;
23export const chatMessagesKey = (chatId: string) =>
24 ["chats", chatId, "messages"] as const;
25export const chatPromptsKey = (chatId: string) =>
26 ["chats", chatId, "prompts"] as const;
27

Callers 9

buildQueriesFunction · 0.90
useChatStoreFunction · 0.90
updateChatQueuedMessagesFunction · 0.90
chatStore.test.tsxFile · 0.90
chats.test.tsFile · 0.90
seedAllActiveQueriesFunction · 0.90
editChatMessageFunction · 0.85
deleteChatQueuedMessageFunction · 0.85

Calls

no outgoing calls

Tested by 1

seedAllActiveQueriesFunction · 0.72