Skip to content

Empty transcript surfaces as 'polish input must not be empty' / polishFailed #1299

Not planned

Description

@EmmyBeckmann

Environment: OpenLess 2.0.2-Beta.3+build.20261026-c9f49c60, macOS 27.2 arm64.

Steps

  1. Dictate into a field with no usable audio (silence, wrong mic, very short press).

Expected

A no-op: dismiss the capsule, write nothing to history, at most show "nothing heard".

Actual

The session fails with InvalidArgument: polish input must not be empty, and history records errorCode = polishFailed. The error names the polish step, which sends the user hunting through LLM provider settings for a problem that is actually in audio capture. I lost a long time to this.

Evidence

[asr] … chars=0
[polish-diagnostics] stage=decision uses_polisher=true short_text_skipped=false mode=Structured
[dictation] session … failed: code=InvalidArgument message=polish input must not be empty
history: errorCode = "polishFailed", rawTranscript = "", finalText = ""

Activity

  1. appergb commented on Nov 30, 2026

    @appergb
    Collaborator

    与 #1439 的 C 类(空识别结果被当错误)为同一问题:ASR 返回 0 字符后被抛成 polish input must not be empty / polishFailed。#1439 已把该场景与长音频 45000081、冷启动 0 帧合并跟踪,后续统一在 #1439 处理,故按重复关闭。

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