Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

fix: missing property in CatalogModel

Vanalite31a71c231676
diff --git a/web-app/src/containers/SetupScreen.tsx b/web-app/src/containers/SetupScreen.tsx
index 123c3a6b4..957c1a7eb 100644
--- a/web-app/src/containers/SetupScreen.tsx
+++ b/web-app/src/containers/SetupScreen.tsx
@@ -129,13 +129,13 @@ function SetupScreen() {
if (
supportCheckInProgress.current ||
- checkedModelId.current === janModelV2.model_id
+ checkedModelId.current === janModelV2.model_name
) {
return
}
supportCheckInProgress.current = true
- checkedModelId.current = janModelV2.model_id
+ checkedModelId.current = janModelV2.model_name
setIsSupportCheckComplete(false)
const variantSupportMap = new Map<
@@ -186,7 +186,7 @@ function SetupScreen() {
}
checkModelSupport()
- }, [janModelV2])
+ }, [janModelV2, serviceHub])
useEffect(() => {
fetchJanModel()