Skip to content

Commit da648f9

Browse files
committed
support gguf v3
1 parent bd52a18 commit da648f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ type MetadataValue = MetadataBaseValue | MetadataArray
3030

3131
type Version = 1 | 2
3232
const isVersion = (version: number): version is Version =>
33-
version === 1 || version === 2
33+
version === 1 || version === 2 || version === 3
3434

3535
type NumberBytes = { error: Error } | { error: null; value: number }
3636
type BigIntBytes = { error: Error } | { error: null; value: bigint }

0 commit comments

Comments
 (0)