xiaozhi-esp32-server/main/xiaozhi-server/core/providers
Brad Shannon 5d6e71a641 fix(tts): pick earliest split for the first sentence, latest for the rest
_get_segment_text used rfind for every sentence and kept the smallest of the
last-occurrence positions across the punctuation set, an inconsistent
heuristic. Differentiate by position in the reply:

- First sentence: take the earliest punctuation boundary (find) so the first
  audio segment is produced as soon as possible — lower time-to-first-audio.
- Subsequent sentences: take the latest boundary (rfind) so segments are as
  large as possible — fewer TTS calls and smoother playback.

The tts_stop_request flush branch is unchanged.
2026-06-18 11:01:04 -04:00
..
asr fix: 停止帧发送后与原先音频时序问题 2026-04-22 15:55:28 +08:00
intent Merge branch 'py_test_typing' into feature/python-typing 2026-02-05 17:14:47 +08:00
llm fix: 修复频繁打断下生成器不会清理 2026-04-22 11:24:43 +08:00
memory delete log 2026-05-01 16:03:02 +08:00
tools perf: 2026-05-12 15:16:08 +08:00
tts fix(tts): pick earliest split for the first sentence, latest for the rest 2026-06-18 11:01:04 -04:00
vad refactor: vad独立时间戳,相关残余状态处理 2026-04-09 17:15:35 +08:00
vllm fix: 修正VLLM本地调用,question参数为空会用英文回复的问题 2025-07-07 09:02:59 +08:00