两条注释(// 替代 initSession / // 新增:xxx)只对本次 PR 有意义, 合并后就会 rot,属于 PR description 的内容而非代码注释。 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@@ -433,9 +433,9 @@ export function useDialogueEngine(mode: 'preview' | 'real' = 'preview') {
isProcessing,
canRecord,
countdownSeconds,
- greetingInflight, // 新增:UI 可用来 disable 重试按钮
+ greetingInflight,
- attachSession, // 替代 initSession
+ attachSession,
generateGreeting,
retryGreeting,
sendStudentMessage,