support openai transcribe turn_detection.eagerness (#1496)

This commit is contained in:
Hoan Luu Huu
2026-01-28 20:09:01 +07:00
committed by GitHub
parent 96d72216e2
commit 6120dcbe96

View File

@@ -1310,6 +1310,9 @@ module.exports = (logger) => {
...(openaiOptions.turn_detection.silence_duration_ms && {
OPENAI_TURN_DETECTION_SILENCE_DURATION_MS: openaiOptions.turn_detection.silence_duration_ms
}),
...(openaiOptions.turn_detection.eagerness && {
OPENAI_TURN_DETECTION_EAGERNESS: openaiOptions.turn_detection.eagerness
})
};
}
}