Compare commits

...

1 Commits

Author SHA1 Message Date
James Hush
6d54ba14e2 fix: add exception handling for FAL smart turn detection 2025-04-29 13:47:23 +08:00

View File

@@ -176,6 +176,8 @@ class BaseSmartTurn(BaseTurnAnalyzer):
f"End of Turn complete due to stop_secs. Silence in ms: {self._silence_ms}"
)
state = EndOfTurnState.COMPLETE
except Exception as e:
logger.error(f"Error during prediction: {e}")
else:
logger.trace(f"params: {self._params}, stop_ms: {self._stop_ms}")