Files
tracy/cmake/ollama-hpp-badcode.patch
2025-07-12 11:50:06 +02:00

14 lines
416 B
Diff

diff --git i/include/ollama.hpp w/include/ollama.hpp
index eaa7a51..9c8ca18 100644
--- i/include/ollama.hpp
+++ w/include/ollama.hpp
@@ -851,7 +848,7 @@ class Ollama
}
else
{
- throw ollama::exception("Error retrieving version: "+res->status);
+ throw ollama::exception("Error retrieving version: "+std::to_string(res->status));
}
return version;