]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Update gpt.lua to remove unneeded body_base.model
authorhunter-nl <junobox@gmail.com>
Thu, 14 Aug 2025 13:03:42 +0000 (15:03 +0200)
committerGitHub <noreply@github.com>
Thu, 14 Aug 2025 13:03:42 +0000 (15:03 +0200)
Not needed in the body_base structure.

src/plugins/lua/gpt.lua

index 72f61e6005206c6ff552413bac083d6dd8436c11..235984aa9b8b55b254a679b5f6ad14b36a184e01 100644 (file)
@@ -717,7 +717,6 @@ local function openai_check(task, content, sel_part)
   end
     
   local body_base = {
-    model = settings.model,
     messages = {
       {
         role = 'system',