Skip to content

Commit e011f7a

Browse files
authored
Tasks: update snippet (#746)
follow up of #699
1 parent 97ab63b commit e011f7a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/tasks/src/local-apps.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export type LocalApp = {
3737
| {
3838
/**
3939
* And if not (mostly llama.cpp), snippet to copy/paste in your terminal
40+
* Support the placeholder {{GGUF_FILE}} that will be replaced by the gguf file path or the list of available files.
4041
*/
4142
snippet: (model: ModelData) => string | string[];
4243
}
@@ -54,7 +55,7 @@ brew install llama.cpp
5455
# Load and run the model
5556
llama \\
5657
--hf-repo "${model.id}" \\
57-
--hf-file file.gguf \\
58+
--hf-file {{GGUF_FILE}} \\
5859
-p "I believe the meaning of life is" \\
5960
-n 128`,
6061
`# Option 2: build llama.cpp from source with curl support

0 commit comments

Comments
 (0)