]> git.ipfire.org Git - thirdparty/rspamd.git/commit
Update gpt.lua to handle OpenAI parallel old and new models
authorhunter-nl <junobox@gmail.com>
Thu, 14 Aug 2025 12:57:04 +0000 (14:57 +0200)
committerGitHub <noreply@github.com>
Thu, 14 Aug 2025 12:57:04 +0000 (14:57 +0200)
commitba7df736e4e22dd06280f365ed5c8ff6f4e324dc
tree1a70aaa7955332d9a30e97d0809d4fadedd4430f
parent5efcf514b845cc031c649eef77348e0505eb68b5
Update gpt.lua to handle OpenAI parallel old and new models

When in rspamd_config is specified multiple models (old/new), this is handled now correctly to set the required attributes for each model request.
src/plugins/lua/gpt.lua