Commit History

refactor(core): Architecturally decouple Audio, ASR, and TTS modules
60f8238

liumaolin commited on

简化LLM模型路径管理。
2baeba2

liumaolin commited on

为LLMResponseGenerator类添加TaskStatusMixin混入,以增强任务有效性检查功能,确保在生成回答时任务状态的有效性。
d205383

liumaolin commited on

更新音频任务处理逻辑,使用模型副本替代原始任务对象,以确保数据一致性和完整性。
2c7e742

liumaolin commited on

重构处理LLM生成chunk内容的方法,以提高文本生成的准确性。
e3d17e2

liumaolin commited on

去除对 LLM 输出的处理
08fc60d

liumaolin commited on

调整prompt的逻辑,确保展示的提示词中不包含/no_think指令
22a06c4

liumaolin commited on

添加设置相关的API路由
15ab478

liumaolin commited on

调整LLM prompt的存放位置
310c0ba

liumaolin commited on

增强任务有效性检查,添加日志记录以便于调试。
b7ae839

liumaolin commited on

在生成TTS音频时始终记录生成信息。
3a6b6fc

liumaolin commited on

在`SpeechStateMonitor`类的初始化过程中调用该方法,确保在创建新语音任务时中断任务ID被正确重置。
259c23b

liumaolin commited on

修复`PerformanceLogMixin`中的音频记录逻辑
9bda9f9

liumaolin commited on

修复`PerformanceLogMixin`中的调试模式检查逻辑
8486c53

liumaolin commited on

增强性能日志记录功能,新增用户问题日志记录方法
7cddb77

liumaolin commited on

Revise `ACTIVE_FRAME_THRESHOLD` from 0.32s to 0.1s
d662661

liumaolin commited on

更新MoYoYo语音模型配置,修改文本分割方法并新增角色模型
46eb532

liumaolin commited on

更新MoYoYo语音模型配置,新增优先级字段
efefd3d

liumaolin commited on

新增Mixin类以增强语音任务处理功能
2ebe57f

liumaolin commited on

添加MoYoYo语音模型“白岩松”及相关文件
d74bcbf

liumaolin commited on

重构`is_task_interrupted`方法以检查语音任务中断状态
02c321c

liumaolin commited on

Add `has_no_words` check to skip punctuation-only TTS tasks and enhance debug logs
b636027

liumaolin commited on

Refactor SpeechMonitor to use active audio frame duration instead of count
15891ec

liumaolin commited on

Add TTS generation error handling and `is_task_interrupted` helper function
5ecb408

liumaolin commited on

Optimize VAD logic by replacing `np.max(probs)` with `any(prob >= threshold)` for improved readability and efficiency.
9273b76

liumaolin commited on

Increase audio capture chunk size to 1024 in `capture.py` for smoother streaming
095cfb6

liumaolin commited on

Handle overflow errors in audio capture by adding `exception_on_overflow=False` and skip processing when no data is available.
5f9eaee

liumaolin commited on

Integrate `SileroVAD` into `SpeechMonitor` for optional voice activity detection. Add `_detect_speech()` method and update queue handling logic. Implement `SileroVAD` as a singleton for efficient model management.
4e2e3d8

liumaolin commited on

Increase queue timeout in audio and text processing services for smoother task handling
b446464

liumaolin commited on

Refactor audio processing pipeline to normalize data in `SpeechMonitor` and streamline queuing in `AudioCapture`
57b0084

liumaolin commited on

Update `AudioCapture` to support both PyAudio and macOS native AEC+VAD libraries
99e8988

liumaolin commited on

Refactor to replace `EchoCancellingAudioCapture` with `AudioCapture` across the codebase for improved clarity and flexibility
7437d6d

liumaolin commited on

Clean input text in MoYoYo TTS by removing punctuation for better processing
8587958

liumaolin commited on

Refactor LlamaCpp initialization to simplify parameter handling and remove unused callback manager
941bf07

liumaolin commited on

Enable debug mode with global configuration and detailed task logging when active
e0f42b2

liumaolin commited on

Reset task ID in speech recognizer for empty transcriptions to prevent errors
2291ed2

liumaolin commited on

Add new voice model "Doubao" to MoYoYo configuration
7b003c4

liumaolin commited on

Update performance logging format in TTS player for improved structure and readability
d0c1c61

liumaolin commited on

Remove commented-out performance logging code from TTS player
c3e85a2

liumaolin commited on

Add new voice model "Ellen" to MoYoYo configuration
b5b48f0

liumaolin commited on

Update MoYoYo TTS prompt text for improved relevance and clarity
8228973

liumaolin commited on

Improve speech recognizer to handle empty transcriptions
0cbda14

liumaolin commited on

Simplify system prompts for text generation in Chinese and English
c545fd9

liumaolin commited on

Add new voice model "Juniper" to MoYoYo configuration
469433f

liumaolin commited on

Standardize punctuation for system prompts in both Chinese and English text generation modules.
bedd7b8

liumaolin commited on

Add session validation checks to `player.py` and `generator.py`
29766c6

liumaolin commited on

Replace `logging` with centralized `loguru`-based logger across all modules.
851495c

liumaolin commited on

Refactor response generation logic in `generator.py`
ce3d9e5

liumaolin commited on

Remove unused conditional logic for second answer handling in `player.py` and `generator.py`
c1b24fd

liumaolin commited on

Comment out unused Kokoro TTS voice configurations
23c146f

liumaolin commited on