Skip to content

Commit 820be33

Browse files
committed
fix: Add authorization while getting installed models (Palm1r#142)
1 parent 4ddbe0b commit 820be33

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

providers/OllamaProvider.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ QList<QString> OllamaProvider::getInstalledModels(const QString &url)
140140
QList<QString> models;
141141
QNetworkAccessManager manager;
142142
QNetworkRequest request(QString("%1%2").arg(url, "/api/tags"));
143+
prepareNetworkRequest(request);
143144
QNetworkReply *reply = manager.get(request);
144145

145146
QEventLoop loop;

0 commit comments

Comments
 (0)