Skip to content

Commit bf50996

Browse files
committed
style: 统一模型名称的缩进并添加下载提示
统一了模型列表中的名称缩进格式,使其更易读。同时,在下载每个模型时添加了提示信息,以提升用户体验。
1 parent e8c2f18 commit bf50996

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

ai/downloadModels.ps1

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,19 @@
33
$modelList = @(
44
@{
55
ModelId = "bge-m3"
6-
Name='bge-m3'
6+
Name = 'bge-m3'
77
},
88
@{
99
ModelId = "qwen3:4b"
10-
Name='qwen3'
10+
Name = 'qwen3'
1111
},
1212
@{
1313
ModelId = "gemma3:4b"
14-
Name='gemma3'
14+
Name = 'gemma3'
1515
}
1616
)
1717

1818
foreach ($model in $modelList) {
19-
ollama pull $model.ModelId
19+
Write-Host "正在下载模型: $($model.Name)..." -ForegroundColor Cyan
20+
ollama pull $model.ModelId
2021
}

0 commit comments

Comments
 (0)