Skip to content

Reasoning models return empty content and polish silently falls back to raw #1303

Open

Description

@EmmyBeckmann

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

Description

deepseek-flash is a reasoning model: it spends the whole completion budget on reasoning_content and returns an empty content. With a tight max_tokens the polish step yields nothing, and the app keeps the raw transcript — again silent verbatim output.

Channel "Verify" passes regardless, because it only checks that the request succeeds.

Reproduced directly against the API with the same key:

  • deepseek-flash, 20-token budget → content: "", 20 reasoning tokens, finish_reason: length
  • deepseek-chat, same prompt → content returned in 0.57 s, 0 reasoning tokens

Suggestion

Detect an empty content with non-zero reasoning_tokens and report "model returned no text — pick a non-reasoning model" instead of silently inserting the raw transcript. Worth a line in the provider docs as well.

Activity

  1. added
    bug
    macOS
    area:provider
    on Nov 30, 2026
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

    area:providerbugmacOS

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions