Skip to content

Commit 044942d

Browse files
authored
local-apps: fix format (#1110)
I forgot to rebase with latest `main` to see if the lint passes or not, ref: #1103
1 parent 645c58d commit 044942d

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

packages/tasks/src/local-apps.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,11 @@ const snippetLlamacpp = (model: ModelData, filepath?: string): LocalAppSnippet[]
101101
tagName = quantLabel ? `:${quantLabel}` : "";
102102
}
103103
const command = (binary: string) => {
104-
const snippet = [
105-
"# Load and run the model:",
106-
`${binary} -hf ${model.id}${tagName}`,
107-
];
104+
const snippet = ["# Load and run the model:", `${binary} -hf ${model.id}${tagName}`];
108105
if (!model.tags.includes("conversational")) {
109106
// for non-conversational models, add a prompt
110107
snippet[snippet.length - 1] += " \\";
111-
snippet.push(" -p \"Once upon a time,\"");
108+
snippet.push(' -p "Once upon a time,"');
112109
}
113110
return snippet.join("\n");
114111
};

0 commit comments

Comments
 (0)