Fix: No LLM hints when adding a dataset for the first time.

This commit is contained in:
chanx 2025-12-02 19:26:33 +08:00
parent 367a7198a1
commit 8642ed81bc

View file

@ -72,7 +72,7 @@ export const useFetchTenantInfo = (
): ResponseGetType<ITenantInfo> => {
const { t } = useTranslation();
const { data, isFetching: loading } = useQuery({
queryKey: [UserSettingApiAction.TenantInfo],
queryKey: [UserSettingApiAction.TenantInfo, showEmptyModelWarn],
initialData: {},
gcTime: 0,
queryFn: async () => {