Skip to content

Commit 687fbe8

Browse files
author
icheer
committed
fix: getLiteModel
1 parent 7eca146 commit 687fbe8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ function getLiteModelId(modelIds) {
773773
const models = modelIds
774774
.split(',')
775775
.filter(i => i)
776-
.map(i => i.trim().split('=')[0])
776+
.map(i => i.split('=')[0].trim())
777777
.filter(i => i);
778778
const parts = [
779779
'-mini',

0 commit comments

Comments
 (0)