Skip to content

Commit

Permalink
Update model name in seed.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
n4ze3m committed Apr 22, 2024
1 parent 4a3c83d commit 17cded4
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions server/prisma/seed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ const LLMS: {
model_type: "chat",
stream_available: true,
model_provider: "Groq",
}
},
];

const EMBEDDING_MODELS: {
Expand Down Expand Up @@ -433,7 +433,9 @@ const newModels = async () => {
where: {
model_id: model.model_id,
},
update: {},
update: {
name: model.name,
},
create: model,
});
}
Expand All @@ -443,7 +445,9 @@ const newModels = async () => {
where: {
model_id: model.model_id,
},
update: {},
update: {
name: model.name,
},
create: model,
});
}
Expand Down

0 comments on commit 17cded4

Please sign in to comment.