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

Function updateChatPlanModeInstructions

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

Source from the content-addressed store, hash-verified

1405});
1406
1407export const updateChatPlanModeInstructions = (queryClient: QueryClient) => ({
1408 mutationFn: (req: TypesGen.UpdateChatPlanModeInstructionsRequest) =>
1409 API.experimental.updateChatPlanModeInstructions(req),
1410 onSuccess: async () => {
1411 await queryClient.invalidateQueries({
1412 queryKey: chatPlanModeInstructionsKey,
1413 });
1414 },
1415});
1416
1417const chatDesktopEnabledKey = ["chat-desktop-enabled"] as const;
1418

Callers 2

Calls

no outgoing calls

Tested by 1