Commit 6b72571
refactor(voice): 默认 voice 改读 free_voices['cuteGirl'] 避免配置漂移
CodeRabbit nit on #1211:直接硬编码 'voice-tone-PGLiyZt65w' 会在 free_voices
配置侧调整时让新角色继续写旧值。改为 config 优先 + 字面量兜底(fallback 保留
PR 前 yui-origin 历史值,防 free_voices 加载失败)。
行为等价:cuteGirl 现就是 'voice-tone-PGLiyZt65w';运行时 gate 不变。
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent fde6765 commit 6b72571
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2451 | 2451 | | |
2452 | 2452 | | |
2453 | 2453 | | |
2454 | | - | |
2455 | | - | |
2456 | | - | |
| 2454 | + | |
| 2455 | + | |
| 2456 | + | |
| 2457 | + | |
| 2458 | + | |
2457 | 2459 | | |
2458 | 2460 | | |
2459 | 2461 | | |
| |||
0 commit comments