Skip to content

[pull] main from forem:main - #403

Merged
pull[bot] merged 2 commits into
amishakov:mainfrom
forem:main
Sep 28, 2026
Merged

pull[bot] merged 2 commits into
amishakov:mainfrom
forem:main

Conversation

@pull

@pull pull Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

benhalpern and others added 2 commits September 28, 2026 10:44
Adds Settings::AiFunctions, a global per-function model selection
(default, Gemini Pro, Gemini Lite, or Jev), with an admin picker under
Config > AI Models. Ai::FunctionRegistry catalogs every AI function and
Ai::FunctionConfig resolves the effective model, falling back to the
built-in Gemini behavior when a selection is unavailable. With nothing
configured, behavior is unchanged.

Judgment functions (spam checks, moderation labels, quality ranking,
badge and helpfulness checks, concept relevance, subforem matching,
clickbait, tag suggestion and similarity, code block languages) gain a
Jev path through a new Ai::TypeSafe client. Each asks narrow Noul,
Choice and Score questions in one request and composes the answers in
code with explicit thresholds. Text-generation functions can choose a
Gemini model but never Jev.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@pull pull Bot locked and limited conversation to collaborators Sep 28, 2026
@pull pull Bot added the ⤵️ pull label Sep 28, 2026
@pull
pull Bot merged commit 2e7fe39 into amishakov:main Sep 28, 2026
2 of 4 checks passed

This branch had an error being deployed

1 failed deployment
staging — 2e7fe393 Deployed Sep 28, 2026 by pull[bot] via deploy (staging) #379
production — 2e7fe393 Deployed Sep 28, 2026 by pull[bot] via deploy (production) #379
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants