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

Function interruptChat

site/src/api/queries/chats.ts:1339–1344  ·  view source on GitHub ↗
(queryClient: QueryClient, chatId: string)

Source from the content-addressed store, hash-verified

1337});
1338
1339export const interruptChat = (queryClient: QueryClient, chatId: string) => ({
1340 mutationFn: () => API.experimental.interruptChat(chatId),
1341 onSuccess: () => {
1342 void invalidateChatDebugRuns(queryClient, chatId);
1343 },
1344});
1345
1346export const deleteChatQueuedMessage = (
1347 queryClient: QueryClient,

Callers 2

AgentChatPageFunction · 0.90
chats.test.tsFile · 0.90

Calls 2

invalidateChatDebugRunsFunction · 0.85
interruptChatMethod · 0.80

Tested by

no test coverage detected