Assistant Config Tweaks

This commit is contained in:
Corey Ogburn
2026-02-03 12:24:10 -07:00
parent 6b98c5a10d
commit eea14b493c
2 changed files with 40 additions and 23 deletions
+7 -4
View File
@@ -1497,13 +1497,16 @@ soc:
systemPromptAddendum: "" systemPromptAddendum: ""
systemPromptAddendumMaxLength: 50000 systemPromptAddendumMaxLength: 50000
adapters: adapters:
securityonion_ai_cloud: - name: SOAI
protocol: securityonion_ai_cloud
apiUrl: https://onionai.securityonion.net apiUrl: https://onionai.securityonion.net
healthTimeoutSeconds: 5 healthTimeoutSeconds: 5
gemini: - name: Gemini
protocol: gemini
apiKey: "" apiKey: ""
serviceAccountJSON: "" serviceAccountJSON: ""
serviceAccountLocation: "" serviceAccountLocation: ""
healthTimeoutSeconds: 5
salt: salt:
queueDir: /opt/sensoroni/queue queueDir: /opt/sensoroni/queue
timeoutMs: 45000 timeoutMs: 45000
@@ -2665,7 +2668,7 @@ soc:
contextLimitLarge: 1000000 contextLimitLarge: 1000000
lowBalanceColorAlert: 500000 lowBalanceColorAlert: 500000
enabled: true enabled: true
adapter: securityonion_ai_cloud adapter: SOAI
- id: qwen-235b - id: qwen-235b
displayName: QWEN 235B ($) displayName: QWEN 235B ($)
origin: China origin: China
@@ -2673,4 +2676,4 @@ soc:
contextLimitLarge: 256000 contextLimitLarge: 256000
lowBalanceColorAlert: 500000 lowBalanceColorAlert: 500000
enabled: true enabled: true
adapter: securityonion_ai_cloud adapter: SOAI
+33 -19
View File
@@ -660,25 +660,39 @@ soc:
global: True global: True
advanced: True advanced: True
adapters: adapters:
securityonion_ai_cloud: description: Configuration for AI adapters used by the Onion AI assistant.
apiUrl: global: True
description: The URL of the AI gateway. advanced: True
global: True forcedType: "[]{}"
healthTimeoutSeconds: syntax: json
description: Timeout in seconds for the Onion AI health check. uiElements:
global: True - field: name
advanced: True label: Adapter Name
gemini: regex: "^(?!.*@).+$"
apiKey: regexFailureMessage: Adapter name cannot contain the '@' character
description: A Google API key generated in Google AI Studio or the Google Cloud Console. Ignored if a service account and location are provided. required: True
global: True - field: protocol
serviceAccountJSON: label: Protocol
description: The JSON file contents holding the credentials for a Google Service Account. Uses Vertex AI. Overrides apiKey if a service account and location are provided. required: True
global: True options:
multiline: True - securityonion_ai_cloud
serviceAccountLocation: - gemini
description: The location of your project in Google Cloud. Overrides apiKey if a service account and location are provided. Example: us-central1 - field: apiUrl
global: True label: API URL
required: False
- field: apiKey
label: API Key
required: False
- field: serviceAccountJSON
label: Service Account JSON
required: False
multiline: True
- field: serviceAccountLocation
label: Service Account Location
required: False
- field: healthTimeoutSeconds
label: Health Timeout Seconds
required: False
client: client:
assistant: assistant:
enabled: enabled: