Skip to content

Commit 6a5110b

Browse files
committed
fix: typo
1 parent e5ac732 commit 6a5110b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/grammar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ import fs from "fs/promises";
184184
import {getLlama, LlamaChatSession} from "node-llama-cpp";
185185

186186
const __dirname = path.dirname(fileURLToPath(import.meta.url));
187-
const myGrammar = await fs.readFile(path.join(__dirname, "my-json-grammar.gbnf"), "utf-8");
187+
const myGrammar = await fs.readFile(path.join(__dirname, "my-json-grammar.gbnf"), "utf8");
188188

189189
const llama = await getLlama();
190190
const model = await llama.loadModel({

0 commit comments

Comments
 (0)