Skip to content

Commit f412377

Browse files
committed
Add speaker recognition configuration and update test script defaults
- Introduced speaker recognition settings in config.yml.template, allowing for easy enable/disable and service URL configuration. - Updated run-robot-tests.sh to use a test-specific configuration file that disables speaker recognition for improved CI performance. - Modified deepgram-openai.yml to disable speaker recognition during CI tests to enhance execution speed.
1 parent 078575a commit f412377

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

config/config.yml.template

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,3 +209,11 @@ memory:
209209
enabled: false
210210
neo4j_host: neo4j-mem0
211211
timeout: 30
212+
213+
speaker_recognition:
214+
# Enable/disable speaker recognition (overrides DISABLE_SPEAKER_RECOGNITION env var)
215+
enabled: true
216+
# Service URL (defaults to SPEAKER_SERVICE_URL env var if not specified)
217+
service_url: null
218+
# Request timeout in seconds
219+
timeout: 60

tests/configs/deepgram-openai.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,8 @@ memory:
8282
Extract important information from this conversation and return a JSON object with an array named "facts".
8383
Include personal preferences, plans, names, dates, locations, numbers, and key details.
8484
Keep items concise and useful.
85+
86+
speaker_recognition:
87+
# Disable speaker recognition in CI tests (too slow, blocks workers)
88+
enabled: false
89+
timeout: 60

tests/run-robot-tests.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ CLEANUP_CONTAINERS="${CLEANUP_CONTAINERS:-true}"
4747
OUTPUTDIR="${OUTPUTDIR:-results}"
4848

4949
# Set default CONFIG_FILE if not provided
50-
# This allows testing with different provider combinations
51-
# Usage: CONFIG_FILE=../tests/configs/parakeet-ollama.yml ./run-robot-tests.sh
52-
export CONFIG_FILE="${CONFIG_FILE:-../config/config.yml}"
50+
# Use test config by default (disables speaker recognition for CI performance)
51+
# Override: CONFIG_FILE=../config/config.yml ./run-robot-tests.sh
52+
export CONFIG_FILE="${CONFIG_FILE:-configs/deepgram-openai.yml}"
5353

5454
# Convert CONFIG_FILE to absolute path (Docker Compose resolves relative paths from compose file location)
5555
if [[ ! "$CONFIG_FILE" = /* ]]; then

0 commit comments

Comments
 (0)