(queryClient: QueryClient)
| 1405 | }); |
| 1406 | |
| 1407 | export 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 | |
| 1417 | const chatDesktopEnabledKey = ["chat-desktop-enabled"] as const; |
| 1418 |
no outgoing calls