mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-28 04:59:52 +01:00
feat: rollback
This commit is contained in:
parent
d96c4b7736
commit
c437630f74
1 changed files with 4 additions and 4 deletions
|
|
@ -259,10 +259,10 @@ class ASRProviderBase(ABC):
|
||||||
conn.asr_text_buffer = raw_text
|
conn.asr_text_buffer = raw_text
|
||||||
|
|
||||||
# Turn Detection: let turn detection handle end of turn
|
# Turn Detection: let turn detection handle end of turn
|
||||||
if conn.turn_detection:
|
# if conn.turn_detection:
|
||||||
# Turn detection will wait for endpoint delay, then call on_end_of_turn
|
# # Turn detection will wait for endpoint delay, then call on_end_of_turn
|
||||||
conn.turn_detection.check_end_of_turn(conn)
|
# conn.turn_detection.check_end_of_turn(conn)
|
||||||
return
|
# return
|
||||||
|
|
||||||
# # No Turn Detection: process immediately
|
# # No Turn Detection: process immediately
|
||||||
# await conn.on_end_of_turn()
|
# await conn.on_end_of_turn()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue