aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/lua/gpt.lua
AgeCommit message (Expand)AuthorLines
2026-10-21[Fix] Parse configured upstream URLs without TLD restrictionsVsevolod Stakhov-1/+1
2026-10-19[Fix] Resolve HTTP upstreams for hosts without public suffixMoritz Friedrich-0/+5
2026-10-02[Fix] lua_util: retry deferred DNS for http upstreamsVsevolod Stakhov-1/+1
2026-08-28[Fix] Use the untrusted UCL parser for external inputVsevolod Stakhov-6/+6
2026-07-28Refactor: Move request content generation into gpt_check functionMoritz Friedrich-25/+16
2026-07-16Fix synchronous context_augment firing two GPT requests for one modelMarcel Menzel-5/+0
2026-04-25[Fix] lua: tolerate nil upstream in transport, plugins, rspamadmVsevolod Stakhov-0/+16
2026-03-26[Fix] Handle OpenAI-compatible response format in Ollama GPT moduleVsevolod Stakhov-14/+19
2026-03-26[Fix] Add text attachment fallback in get_displayed_text_partVsevolod Stakhov-0/+1
2026-03-16[Feature] Make GPT consensus thresholds configurableVsevolod Stakhov-2/+4
2026-03-16[Feature] Store GPT result in mempool variableVsevolod Stakhov-0/+26
2026-03-16[Fix] Handle nil sel_part in GPT module, add min_wordsVsevolod Stakhov-11/+20
2026-03-14[Feature] Add context_augment hook to GPT moduleVsevolod Stakhov-9/+43
2026-01-26[Fix] GPT plugin: explicitly set POST method for API requestsVsevolod Stakhov-0/+2
2026-01-18[Feature] Add reply_trim_mode for LLM inputVsevolod Stakhov-1/+5
2026-01-04added changesPrem-1/+1
2026-01-03fixed issue-5670Prem-1/+1
2025-11-05[Fix] Refactor llm_search_context to use lua_cache moduleVsevolod Stakhov-2/+4
2025-11-05[Fix] Fix llm_search_context to follow Rspamd idiomsVsevolod Stakhov-4/+0
2025-11-05[Feature] Add web search context support to GPT pluginVsevolod Stakhov-7/+132
2025-10-02[Feature] Improve LLM prompt and add sender frequency trackingVsevolod Stakhov-7/+31
2025-10-02[Feature] Improve GPT module with uncertain caching and server timeoutVsevolod Stakhov-23/+100
2025-10-01[Feature] Add user/domain context support for LLM-based classificationVsevolod Stakhov-44/+227
2025-09-16Merge pull request #5612 from hunter-nl/masterVsevolod Stakhov-38/+60
2025-09-16Remove unnecessary blank lines in gpt.luahunter-nl-4/+5
2025-09-11[Project] Add support of granular timeouts to plugins and mapsVsevolod Stakhov-0/+15
2025-09-10Refactor model parameters and response handlinghunter-nl-40/+61
2025-09-05[Minor] Update plugins that are using headers modificationsVsevolod Stakhov-1/+3
2025-08-28[Fix] GPT: Fix occasional damageVsevolod Stakhov-23/+46
2025-08-18[Minor] Move common stuff to a separate functionVsevolod Stakhov-73/+20
2025-08-16Updated gpt.lua to set default gpt-5-mini as model, fix issue when GPT max_co...René Draaisma-4/+7
2025-08-15Updated gpt.lua to provide model parameters with the settingsRené Draaisma-49/+35
2025-08-15Update gpt.lua to make use of lua_util.deepcopy function.hunter-nl-16/+2
2025-08-14Update gpt.lua to fix spaces on empty lineshunter-nl-3/+3
2025-08-14Update gpt.lua to get fresh body for each model iterationhunter-nl-1/+17
2025-08-14Update gpt.lua to remove unneeded body_base.modelhunter-nl-1/+0
2025-08-14Update gpt.lua to handle OpenAI parallel old and new modelshunter-nl-16/+17
2025-08-14Update gpt.lua to support newer models without temperature attributehunter-nl-2/+20
2025-08-14Update gpt.lua to support newer models with max_completion_tokenshunter-nl-2/+24
2025-07-10clean gpt response for openai, tooTom Mittelstädt-9/+13
2025-06-25[Fix] GPT: fix processing of messages with no subjectVsevolod Stakhov-21/+19
2025-06-10[Fix] Fix several issues with the lua_loggerVsevolod Stakhov-2/+2
2025-06-03[Minor] Log the token usage for OpenAI (compatible) plain conversionLucas Rolff-0/+4
2025-05-14[Minor] Fix formattingVsevolod Stakhov-7/+7
2025-05-09Remove "thinking" and fix errorlogNameWeb-2/+15
2025-03-14[Minor] C&P issue in last commitalex081512-2/+2
2025-03-14[Minor] Reverted commit for result historyalex081512-9/+2
2025-03-13[Minor] Remove whitespace for lua checkalex081512-2/+2
2025-03-13[Minor] Insert Reason to result to show gpt answer in historyalex081512-2/+10
2025-03-13[Fix] Add header with reason everytime (not only for ham) and use correct val...alex081512-4/+4