summaryrefslogtreecommitdiff
path: root/src/ai_providers
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2025-10-25 15:00:38 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2025-10-25 15:00:38 +0200
commit5f25180b3d79d9a03952217cd77a16601ae0a6d0 (patch)
tree2f06334f7d1ad7728c145143e7cbf86a72b24e0e /src/ai_providers
parentebefd3d10af8d79e765030c263aa560cbb6420d2 (diff)
refactor tax rate loading
Diffstat (limited to 'src/ai_providers')
-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 64e7a6a..3e5104d 100644
--- a/src/ai_providers/openAI.cpp
+++ b/src/ai_providers/openAI.cpp
@@ -30,6 +30,7 @@ static bool _openAI_batch_query_with_file(char** queries, size_t query_count, ch
httplib::SSLClient cli("api.openai.com", 443);
thrd_t threads[20];
+ assert(query_count <= 20);
for (u32 i = 0; i < query_count; i++)
{