Merge pull request #15229 from Security-Onion-Solutions/cogburn/toggle-models

Add Enabled Flag to Models
This commit is contained in:
coreyogburn
2025-11-13 16:13:24 -07:00
committed by GitHub
2 changed files with 7 additions and 0 deletions

View File

@@ -2562,18 +2562,22 @@ soc:
contextLimitSmall: 200000 contextLimitSmall: 200000
contextLimitLarge: 1000000 contextLimitLarge: 1000000
lowBalanceColorAlert: 500000 lowBalanceColorAlert: 500000
enabled: true
- id: sonnet-4.5 - id: sonnet-4.5
displayName: Claude Sonnet 4.5 displayName: Claude Sonnet 4.5
contextLimitSmall: 200000 contextLimitSmall: 200000
contextLimitLarge: 1000000 contextLimitLarge: 1000000
lowBalanceColorAlert: 500000 lowBalanceColorAlert: 500000
enabled: true
- id: gptoss-120b - id: gptoss-120b
displayName: GPT-OSS 120B displayName: GPT-OSS 120B
contextLimitSmall: 128000 contextLimitSmall: 128000
contextLimitLarge: 128000 contextLimitLarge: 128000
lowBalanceColorAlert: 500000 lowBalanceColorAlert: 500000
enabled: true
- id: qwen-235b - id: qwen-235b
displayName: QWEN 235B displayName: QWEN 235B
contextLimitSmall: 256000 contextLimitSmall: 256000
contextLimitLarge: 256000 contextLimitLarge: 256000
lowBalanceColorAlert: 500000 lowBalanceColorAlert: 500000
enabled: true

View File

@@ -651,6 +651,9 @@ soc:
label: Low Balance Color Alert label: Low Balance Color Alert
forcedType: int forcedType: int
required: True required: True
- field: enabled
label: Enabled
forcedType: bool
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