Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite87c99a

Browse files
author
Sinan Karakaya
committed
lint: formatting
1 parent0657937 commite87c99a

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
exportasyncfunctionollamaCheckModel(endpoint:string,model:string,authToken:string){
44
// Check if exists
55
letres=awaitfetch(endpoint+'/api/tags',{
6-
headers:authToken
7-
?{
6+
headers:authToken ?{
87
Authorization:`Bearer${authToken}`,
9-
}
10-
:{},
8+
} :{},
119
});
1210
if(!res.ok){
1311
info(awaitres.text());

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp