Cache provider models by server and provider

This commit is contained in:
Mohamed Boudra
2026-04-01 13:37:51 +07:00
parent 51411182fe
commit c635eabff3
4 changed files with 44 additions and 9 deletions
@@ -0,0 +1,8 @@
interface ProviderModelsQueryState {
isFetching: boolean;
isLoading: boolean;
}
export function isProviderModelsQueryLoading(input: ProviderModelsQueryState): boolean {
return input.isLoading || input.isFetching;
}