correlation upgrades

This commit is contained in:
Logan
2026-05-17 19:05:52 -04:00
parent bcc3d3406d
commit 97ed691cd2
5 changed files with 54 additions and 15 deletions
+3 -1
View File
@@ -17,8 +17,9 @@ class Settings(BaseSettings):
# Node health
node_offline_threshold: int = 90 # seconds without checkin before marking offline
# OpenAI (Whisper STT)
# OpenAI (STT + intelligence)
openai_api_key: Optional[str] = None
stt_model: str = "gpt-4o-transcribe" # whisper-1 | gpt-4o-mini-transcribe | gpt-4o-transcribe
# Gemini (intelligence extraction, embeddings, incident summaries)
gemini_api_key: Optional[str] = None
@@ -31,6 +32,7 @@ class Settings(BaseSettings):
incident_auto_resolve_minutes: int = 90 # auto-resolve after N minutes with no new calls
recorrelation_scan_minutes: int = 60 # re-examine orphaned calls ended within this window
tg_fast_path_idle_minutes: int = 90 # fast path: max minutes since incident last updated
tg_dispatch_thin_idle_minutes: int = 10 # dispatch channels only: thin calls only attach to incidents idle < this many minutes
# Vocabulary learning
vocabulary_induction_interval_hours: int = 24 # how often the induction loop runs