Skip to content

Commit e87c99a

Browse files
author
Sinan Karakaya
committed
lint: formatting
1 parent 0657937 commit e87c99a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/modules/ollamaCheckModel.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@ import { info } from "./log";
33
export async function ollamaCheckModel(endpoint: string, model: string, authToken: string) {
44
// Check if exists
55
let res = await fetch(endpoint + '/api/tags', {
6-
headers: authToken
7-
? {
6+
headers: authToken ? {
87
Authorization: `Bearer ${authToken}`,
9-
}
10-
: {},
8+
} : {},
119
});
1210
if (!res.ok) {
1311
info(await res.text());

0 commit comments

Comments
 (0)