summaryrefslogtreecommitdiff
path: root/src/ai_providers
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2025-10-04 15:54:30 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2025-10-04 15:54:30 +0200
commit2855642dd16cea260f3b32351f0529328a0bcb15 (patch)
treea375d2c57e1089ba54746371674e48c9216bb8e4 /src/ai_providers
parentb8e049f02a16dc8398b2a954b561c84beda423c7 (diff)
namespacing locale, config, file_templates
Diffstat (limited to 'src/ai_providers')
-rw-r--r--src/ai_providers/DeepSeek.cpp6
-rw-r--r--src/ai_providers/openAI.cpp2
2 files changed, 6 insertions, 2 deletions
diff --git a/src/ai_providers/DeepSeek.cpp b/src/ai_providers/DeepSeek.cpp
index 67d17c2..334f024 100644
--- a/src/ai_providers/DeepSeek.cpp
+++ b/src/ai_providers/DeepSeek.cpp
@@ -24,13 +24,15 @@
#include "httplib.h"
#include "strops.hpp"
#include "log.hpp"
-#include "import_service.hpp"
+#include "importer.hpp"
#define QUERY_BUFFER_SIZE 1000000
char* query_buffer = 0;
static bool _DeepSeek_query_with_file(char* query, size_t query_length, char* file_id, char** response)
{
+ (void)file_id;
+ (void)query_length;
assert(query_buffer);
const char *api_key = administration_get_ai_service().api_key_public;
@@ -78,6 +80,8 @@ static bool _DeepSeek_query_with_file(char* query, size_t query_length, char* fi
static bool _DeepSeek_upload_file(char* file_path, char* file_id, size_t file_id_len)
{
+ (void)file_id;
+ (void)file_id_len;
const char *filename = strops_get_filename(file_path);
FILE* orig_file = fopen(file_path, "r");
diff --git a/src/ai_providers/openAI.cpp b/src/ai_providers/openAI.cpp
index 20c1fa4..415d8ce 100644
--- a/src/ai_providers/openAI.cpp
+++ b/src/ai_providers/openAI.cpp
@@ -24,7 +24,7 @@
#include "httplib.h"
#include "strops.hpp"
#include "log.hpp"
-#include "import_service.hpp"
+#include "importer.hpp"
static bool _openAI_query_with_file(char* query, size_t query_length, char* file_id, char** response)
{