From a48cce7170351886a5eb53aa40e180f747ac6b15 Mon Sep 17 00:00:00 2001 From: Corey Ogburn Date: Wed, 19 Aug 2026 14:16:12 -0600 Subject: [PATCH] Add Interval and Disable by Default Added `memoryScanIntervalSeconds` with a default of 5 mins. Opted to set `useMemoryScanner` to false so by default our user's sessions are not sent to the cloud before they have a chance to configure the new setting. --- salt/soc/defaults.yaml | 12 +++++++++++- salt/soc/soc_soc.yaml | 3 +++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/salt/soc/defaults.yaml b/salt/soc/defaults.yaml index b8493e9c8..6b88c5c0b 100644 --- a/salt/soc/defaults.yaml +++ b/salt/soc/defaults.yaml @@ -1538,7 +1538,8 @@ soc: Investigator: gemma@SOAI DetectionEngineer: gemma@SOAI useMemory: true - useMemoryScanner: true + useMemoryScanner: false + memoryScanIntervalSeconds: 300 memoryProximityThreshold: 0.8 messageProximityThreshold: 0.5 maxUserMemoriesToInclude: 5 @@ -2738,5 +2739,14 @@ soc: enabled: true adapter: SOAI charsPerTokenEstimate: 4 + - id: amazon.titan-embed-text-v2 + displayName: amazon.titan-embed-text-v2 + origin: USA + contextLimitSmall: 8192 + contextLimitLarge: 8192 + lowBalanceColorAlert: 500000 + enabled: true + adapter: SOAI + charsPerTokenEstimate: 4 diff --git a/salt/soc/soc_soc.yaml b/salt/soc/soc_soc.yaml index 627bb660e..5fef5eded 100644 --- a/salt/soc/soc_soc.yaml +++ b/salt/soc/soc_soc.yaml @@ -851,6 +851,9 @@ soc: useMemoryScanner: description: Enables the memory scanner for automatic memory extraction from historical sessions. global: True + memoryScanIntervalSeconds: + description: How long to wait in seconds between attempts to scan sessions for new memories. + global: True memoryProximityThreshold: description: Describes how close memories need to be on a floating point scale from 0.0 to 1.0 to be considered when reconciling new memories with old ones. This value is usually higher than messageProximityThreshold. global: True