added threshold config fields for assistant

This commit is contained in:
Matthew Wright
2025-09-04 16:36:51 -04:00
committed by Corey Ogburn
parent 855b489c4b
commit 12959d114c
2 changed files with 37 additions and 1 deletions

View File

@@ -2546,3 +2546,9 @@ soc:
assistant: assistant:
enabledInSoc: false enabledInSoc: false
investigationPrompt: Investigate Alert ID {socid} investigationPrompt: Investigate Alert ID {socid}
contextLimitSmall: 200000
contextLimitLarge: 1000000
thresholdColorRatioLow: 0.5
thresholdColorRatioMed: 0.75
thresholdColorRatioMax: 1
lowBalanceColorAlert: 500000

View File

@@ -586,6 +586,36 @@ soc:
advanced: True advanced: True
global: True global: True
client: client:
assistant:
enabledInSoc:
description: Set to true to enable the Onion AI assistant in SOC.
global: True
investigationPrompt:
description: Prompt given to Onion AI when beginning an investigation.
global: True
contextLimitSmall:
description: Smaller context limit for Onion AI.
global: True
advanced: True
contextLimitLarge:
description: Larger context limit for Onion AI.
global: True
advanced: True
thresholdColorRatioLow:
description: Lower visual context color change threshold.
global: True
advanced: True
thresholdColorRatioMed:
description: Middle visual context color change threshold.
global: True
advanced: True
thresholdColorRatioMax:
description: Max visual context color change threshold.
global: True
advanced: True
lowBalanceColorAlert:
description: Onion AI credit amount at which balance turns red.
advanced: True
apiTimeoutMs: apiTimeoutMs:
description: Duration (in milliseconds) to wait for a response from the SOC server API before giving up and showing an error on the SOC UI. description: Duration (in milliseconds) to wait for a response from the SOC server API before giving up and showing an error on the SOC UI.
global: True global: True