summaryrefslogtreecommitdiff
path: root/src/ai_providers/openAI.cpp
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2025-10-04 13:57:52 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2025-10-04 13:57:52 +0200
commitb8e049f02a16dc8398b2a954b561c84beda423c7 (patch)
tree9f7a49e7e087f5e2cdcaddfacb7eef5b5f8650c0 /src/ai_providers/openAI.cpp
parent0546522f56ddd6dc4abdf09cdedd1e59598462c6 (diff)
deepseek ai backend
Diffstat (limited to 'src/ai_providers/openAI.cpp')
-rw-r--r--src/ai_providers/openAI.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ai_providers/openAI.cpp b/src/ai_providers/openAI.cpp
index 7ebd680..20c1fa4 100644
--- a/src/ai_providers/openAI.cpp
+++ b/src/ai_providers/openAI.cpp
@@ -51,6 +51,7 @@ static bool _openAI_query_with_file(char* query, size_t query_length, char* file
if (!res || res->status != 200) {
log_error("ERROR Failed to query API.");
+ log_error(res->body.c_str());
return 0;
}