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

Function deleteChatModelConfig

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

Source from the content-addressed store, hash-verified

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

Callers 2

AgentSettingsModelsPageFunction · 0.90

Calls 2

deleteChatModelConfigMethod · 0.80

Tested by

no test coverage detected