From 26d503cb1e92fa3d199dbd10bba28aafd8a4647e Mon Sep 17 00:00:00 2001 From: Matthew Wright Date: Tue, 24 Nov 2026 09:36:58 -0500 Subject: [PATCH] query_notifications configurable defaults annotations --- salt/soc/defaults.yaml | 6 ++++++ salt/soc/soc_soc.yaml | 26 ++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/salt/soc/defaults.yaml b/salt/soc/defaults.yaml index f643ac09c..ec17a107c 100644 --- a/salt/soc/defaults.yaml +++ b/salt/soc/defaults.yaml @@ -1638,6 +1638,12 @@ soc: - "user.effective.name" - "weird.name" - "tags" + queryNotifications: + defaultLimit: 10 + maxLimit: 50 + summaryMaxLength: 1000 + fieldValueMaxLength: 200 + maxEntries: 25 onionconfig: saltstackDir: /opt/so/saltstack bypassEnabled: false diff --git a/salt/soc/soc_soc.yaml b/salt/soc/soc_soc.yaml index 6255fbd23..1ed29d61d 100644 --- a/salt/soc/soc_soc.yaml +++ b/salt/soc/soc_soc.yaml @@ -1112,6 +1112,32 @@ soc: description: A whitelist of fields to return when OnionAI uses the query_events tool. All other fields are removed. One field per line. global: True multiline: True + queryNotifications: + defaultLimit: + description: Number of notifications Onion AI reads with the query_notifications tool when it doesn't ask for a specific number. Must be greater than 0. Values above maxLimit use maxLimit. + global: True + advanced: True + forcedType: int + maxLimit: + description: Maximum number of notifications Onion AI may read with one query_notifications call. Must be greater than 0. Higher values put more notification text into the model's context. + global: True + advanced: True + forcedType: int + summaryMaxLength: + description: Maximum number of characters of each notification summary that query_notifications returns to Onion AI. Must be greater than 0. Longer summaries are shortened. + global: True + advanced: True + forcedType: int + fieldValueMaxLength: + description: Maximum number of characters of each notification field value that query_notifications returns to Onion AI. Must be greater than 0. Longer values are shortened. Link values are never shortened. + global: True + advanced: True + forcedType: int + maxEntries: + description: Maximum number of fields, links, and attachment names per notification that query_notifications returns to Onion AI. Must be greater than 0. The result tells Onion AI how many were left out. + global: True + advanced: True + forcedType: int client: assistant: enabled: