summaryrefslogtreecommitdiff
path: root/src/providers/DeepSeek.cpp
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@mailbox.org>2026-01-09 17:30:15 +0100
committerAldrik Ramaekers <aldrik@mailbox.org>2026-01-09 17:30:15 +0100
commit0821197bc1c57c756e737740d6a6de9c83314fae (patch)
tree4963d2be78bd0978442a4b311889c6f2c5feaeee /src/providers/DeepSeek.cpp
parentccacaf0582bcea4a71ec8247ade0fd75e4ca99bf (diff)
fix warnings
Diffstat (limited to 'src/providers/DeepSeek.cpp')
-rw-r--r--src/providers/DeepSeek.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/DeepSeek.cpp b/src/providers/DeepSeek.cpp
index 2fc73c9..7c695fb 100644
--- a/src/providers/DeepSeek.cpp
+++ b/src/providers/DeepSeek.cpp
@@ -25,7 +25,7 @@
#define QUERY_BUFFER_SIZE 1000000
char* query_buffer = 0;
-static bool _DeepSeek_query_with_file(const char* query, size_t query_length, char* file_id, char** response)
+static bool _DeepSeek_query_with_file(const char* query, size_t query_length, const char* file_id, char** response)
{
(void)file_id;
(void)query_length;
@@ -74,7 +74,7 @@ static bool _DeepSeek_query_with_file(const char* query, size_t query_length, ch
return 1;
}
-static bool _DeepSeek_upload_file(char* file_path, char* file_id, size_t file_id_len)
+static bool _DeepSeek_upload_file(const char* file_path, char* file_id, size_t file_id_len)
{
(void)file_id;
(void)file_id_len;