Skip to content

Commit

Permalink
fix: should maintain legacy jan model parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-jan committed Nov 8, 2024
1 parent 9ddd26d commit 43d0e27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/hooks/useModels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ const useModels = () => {
name: ModelManager.instance().models.get(e.id)?.name ?? e.id,
settings:
ModelManager.instance().models.get(e.id)?.settings ?? e.settings,
parameters:
ModelManager.instance().models.get(e.id)?.parameters ?? e.parameters,
metadata:
ModelManager.instance().models.get(e.id)?.metadata ?? e.metadata,
}))
Expand Down

0 comments on commit 43d0e27

Please sign in to comment.