Skip to content

Commit

Permalink
Fixing Win/macOS build conditional compile.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvorka committed Mar 4, 2024
1 parent 83328d0 commit 59a8369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/mind/ai/llm/ollama_wingman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ void OllamaWingman::curlGet(CommandWingmanChat& command) {
#if defined(_WIN32) || defined(__APPLE__)
QNetworkAccessManager networkManager;

QNetworkRequest request(QUrl(this->url.c_str());
QNetworkRequest request(QUrl(QString::fromStdString(this->url)));
request.setHeader(
QNetworkRequest::ContentTypeHeader,
"application/json");
Expand Down

0 comments on commit 59a8369

Please sign in to comment.