(queryClient: QueryClient)
| 1849 | }); |
| 1850 | |
| 1851 | export const deleteChatModelConfig = (queryClient: QueryClient) => ({ |
| 1852 | mutationFn: (modelConfigId: string) => |
| 1853 | API.experimental.deleteChatModelConfig(modelConfigId), |
| 1854 | onSuccess: async () => { |
| 1855 | await invalidateChatConfigurationQueries(queryClient); |
| 1856 | }, |
| 1857 | }); |
| 1858 | |
| 1859 | type ChatCostDateParams = { |
| 1860 | start_date?: string; |
no test coverage detected