discourse/plugins/discourse-ai/spec/lib/modules
Rafael dos Santos Silva 74693d5f75
FIX: Agentic agents crash when max_turn_tokens is empty (#40952)
Previously, an agent in agentic execution mode with an empty
`max_turn_tokens` crashed with "comparison of Integer with nil failed"
because the token-budget loop compared the running token count against a
nil budget.

This change defaults the turn budget to half of the model's context
window when `max_turn_tokens` is empty, so agentic agents keep working
without an explicit budget.
2026-06-16 16:59:58 -03:00
..
ai_bot FIX: Agentic agents crash when max_turn_tokens is empty (#40952) 2026-06-16 16:59:58 -03:00
ai_helper FIX: Respect category tag restrictions when suggesting tags (#40545) 2026-06-04 09:11:56 +02:00
ai_moderation DEV: Skip flagging a post via AI spam if it is already in queue (#40037) 2026-05-14 14:12:35 -04:00
automation FEATURE: extract text from document uploads for LLM prompts (#39634) 2026-05-05 08:16:23 +10:00
embeddings DEV: fix a large amount of typos (#37428) 2026-02-02 16:31:58 +11:00
sentiment DEV: Let plugins exclude reports from the customisable dashboard (#40463) 2026-06-03 16:36:01 +03:00
summarization SECURITY: Force regeneration for edit-outdated summaries and block stale fallback 2026-03-31 15:12:45 +01:00