Skip to content

Commit

Permalink
docs: added reminder for check removal
Browse files Browse the repository at this point in the history
  • Loading branch information
Vali-98 committed Oct 10, 2024
1 parent b190fe8 commit 4e5e125
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/constants/LlamaLocal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,11 @@ export namespace Llama {
Logger.log(`Model Missing, its entry will be deleted: ${item.name}`)
await db.delete(model_data).where(eq(model_data.id, item.id))
}
/**
* This check is specifically for migration from v0.8.0-beta4
* file_path was added after, hence its not null migration resulted in needing
* a default blank string, consider removal later
*/
if (item.file_path === '') {
await db
.update(model_data)
Expand Down

0 comments on commit 4e5e125

Please sign in to comment.