[feat] plugin: AI Summary

PLACEHOLDER — rewrite this message before opening the PR.

Adds a plugin that shows an AI generated summary above the search
results, produced by an LLM server the administrator runs and reaches
over the OpenAI chat completions API.
This commit is contained in:
jasonwitty
2026-08-15 17:47:58 -07:00
parent 094c33d406
commit 8d9bd59e19
43 changed files with 1951 additions and 54 deletions
+2
View File
@@ -13,6 +13,7 @@ from os.path import dirname, abspath
import msgspec
from typing_extensions import override
from .ai_summary import SettingsAISummary
from .brand import SettingsBrand
from .sxng_locales import sxng_locales
from ._settings import SettingsPref
@@ -267,6 +268,7 @@ SCHEMA: dict[str, t.Any] = {
'networks': {},
},
'plugins': SettingsValue(dict, {}),
'ai_summary': SettingsAISummary,
'categories_as_tabs': SettingsValue(dict, CATEGORIES_AS_TABS),
'engines': SettingsValue(list, []),
'doi_resolvers': {},