summaryrefslogtreecommitdiff
path: root/src/ai_providers/openAI.cpp
diff options
context:
space:
mode:
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;
}