added socket listeners, added more info to ui

This commit is contained in:
Jennifer Player
2024-02-21 09:59:50 -05:00
committed by psychedelicious
parent 0a69779df9
commit 20576deae8
8 changed files with 144 additions and 2 deletions

View File

@ -202,7 +202,7 @@ export const modelsApi = api.injectEndpoints({
body: config,
};
},
invalidatesTags: ['Model'],
invalidatesTags: ['Model', 'ModelImports'],
}),
addMainModels: build.mutation<AddMainModelResponse, AddMainModelArg>({
query: ({ body }) => {
@ -308,6 +308,7 @@ export const modelsApi = api.injectEndpoints({
url: buildModelsUrl(`import`),
};
},
providesTags: ['ModelImports']
}),
getCheckpointConfigs: build.query<CheckpointConfigsResponse, void>({
query: () => {