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.

chore: update search params

Faisal Amir8c69aea555df
diff --git a/web-app/src/containers/MlxModelDownloadAction.tsx b/web-app/src/containers/MlxModelDownloadAction.tsx
index 1595967ea..7963f76fb 100644
--- a/web-app/src/containers/MlxModelDownloadAction.tsx
+++ b/web-app/src/containers/MlxModelDownloadAction.tsx
@@ -86,7 +86,7 @@ export const MlxModelDownloadAction = memo(({ model }: { model: CatalogModel })
to: route.home,
params: {},
search: {
- model: {
+ threadModel: {
id: modelId,
provider: 'mlx',
},
diff --git a/web-app/src/containers/ModelDownloadAction.tsx b/web-app/src/containers/ModelDownloadAction.tsx
index bcd34c43b..6f457b3ea 100644
--- a/web-app/src/containers/ModelDownloadAction.tsx
+++ b/web-app/src/containers/ModelDownloadAction.tsx
@@ -44,7 +44,7 @@ export const ModelDownloadAction = ({
to: route.home,
params: {},
search: {
- model: {
+ threadModel: {
id: modelId,
provider: 'llamacpp',
},
diff --git a/web-app/src/routes/hub/$modelId.tsx b/web-app/src/routes/hub/$modelId.tsx
index 61940227d..8d31b5838 100644
--- a/web-app/src/routes/hub/$modelId.tsx
+++ b/web-app/src/routes/hub/$modelId.tsx
@@ -107,7 +107,7 @@ function HubModelDetailContent() {
to: route.home,
params: {},
search: {
- model: {
+ threadModel: {
id: modelId,
provider: 'llamacpp',
},
diff --git a/web-app/src/routes/hub/index.tsx b/web-app/src/routes/hub/index.tsx
index 8bdf36586..59584bacd 100644
--- a/web-app/src/routes/hub/index.tsx
+++ b/web-app/src/routes/hub/index.tsx
@@ -308,7 +308,7 @@ function HubContent() {
to: route.home,
params: {},
search: {
- model: {
+ threadModel: {
id: modelId,
provider: 'llamacpp',
},