From 59a8369783c4c41363f14ce0fbe7dfe213a8851c Mon Sep 17 00:00:00 2001 From: Martin Dvorak Date: Mon, 4 Mar 2024 08:23:20 +0100 Subject: [PATCH] Fixing Win/macOS build conditional compile. --- lib/src/mind/ai/llm/ollama_wingman.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/mind/ai/llm/ollama_wingman.cpp b/lib/src/mind/ai/llm/ollama_wingman.cpp index 90f029fb..672c7aa6 100644 --- a/lib/src/mind/ai/llm/ollama_wingman.cpp +++ b/lib/src/mind/ai/llm/ollama_wingman.cpp @@ -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");