(queryClient: QueryClient)
| 1641 | }); |
| 1642 | |
| 1643 | export 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 | |
| 1653 | export const chatModelsKey = ["chat-models"] as const; |
| 1654 |
no test coverage detected