This commit is contained in:
Amith Koujalgi 2024-01-04 09:58:53 +05:30
parent 35728ae208
commit 12f099260f

View File

@ -476,6 +476,7 @@ public class OllamaAPI {
} }
} }
} }
if (statusCode != 200) { if (statusCode != 200) {
logger.error("Status code " + statusCode); logger.error("Status code " + statusCode);
throw new OllamaBaseException(responseBuffer.toString()); throw new OllamaBaseException(responseBuffer.toString());