feat(admin): Web-Suche pro Nutzer ein-/ausschaltbar
web_search_enabled in AdminUserPrefsUpdate (war nicht im Schema -> wurde wie frueher voice_gender still verworfen) + in der /admin/users-Antwort (Checkbox- Initialzustand, Default = globaler Wert) + Checkbox im Admin-Nutzer-Bereich (speichert sofort). resolve_route respektierte das Pref schon -> wirkt jetzt durchgaengig (AUS = plain Provider, AN = ToolCallingLLM). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
69894b1e7b
commit
5609741039
3 changed files with 25 additions and 0 deletions
|
|
@ -164,6 +164,7 @@ class AdminUserPrefsUpdate(BaseModel):
|
|||
Format geprüft (serverseitige Härtung zusätzlich zur Frontend-Validierung).
|
||||
"""
|
||||
allowed_languages: str | None = None
|
||||
web_search_enabled: bool | None = None # Web-Suche (Weg 2) pro Nutzer an/aus
|
||||
# Notfall-Profil (in user.prefs gespeichert, fließt in die Notruf-Meldungen ein)
|
||||
full_name: str | None = None
|
||||
street: str | None = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue