Skip to content

fix: Whisper 失败时录音 buffer 已清空,无法重试 / 写历史 #56

Description

@appergb

现象 (Codex)

`asr/whisper.rs` 在请求开始就 `take` 走录音 buffer,凭证或网络失败后音频无法重试,也不写入历史。

位置

  • `asr/whisper.rs:29`
  • `asr/whisper.rs:40`
  • `asr/whisper.rs:57`

期望

失败保留原始 PCM,至少能让用户「重新提交」或在历史中看到失败记录。

严重度

high — 数据丢失风险。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions