diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-10-25 15:00:38 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-10-25 15:00:38 +0200 |
| commit | 5f25180b3d79d9a03952217cd77a16601ae0a6d0 (patch) | |
| tree | 2f06334f7d1ad7728c145143e7cbf86a72b24e0e /src/ai_providers/openAI.cpp | |
| parent | ebefd3d10af8d79e765030c263aa560cbb6420d2 (diff) | |
refactor tax rate loading
Diffstat (limited to 'src/ai_providers/openAI.cpp')
| -rw-r--r-- | src/ai_providers/openAI.cpp | 1 |
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++) { |
