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

Function deleteUserCompactionThreshold

site/src/api/queries/chats.ts:1643–1651  ·  view source on GitHub ↗
(queryClient: QueryClient)

Source from the content-addressed store, hash-verified

1641});
1642
1643export const deleteUserCompactionThreshold = (queryClient: QueryClient) => ({
1644 mutationFn: (modelConfigId: string) =>
1645 API.experimental.deleteUserChatCompactionThreshold(modelConfigId),
1646 onSuccess: async () => {
1647 await queryClient.invalidateQueries({
1648 queryKey: userCompactionThresholdsKey,
1649 });
1650 },
1651});
1652
1653export const chatModelsKey = ["chat-models"] as const;
1654

Callers 1

Tested by

no test coverage detected