Skip to content

v1.32.03 — Qwen3.5 chat-template crash fix

Latest

Choose a tag to compare

@Helldez Helldez released this 10 Jun 11:29

Fix

  • Qwen3.5 startup crash (SIGABRT). Qwen3.5's Jinja chat template raises No user query found in messages. when applied to a message list without a user turn. HearoPilot formats and encodes the system prompt on its own to prefill the KV cache, which triggered an uncaught exception in common_chat_templates_apply_jinja and aborted the process on session start.

How it's fixed

  • The system turn is now deferred when the active model's template cannot render it standalone: it is folded into the next user turn, where the [system, user] message list renders correctly. The condition is detected dynamically — no per-architecture hardcoding.
  • Models whose template renders a system-only turn (Gemma3, etc.) keep the existing behaviour and KV-cache reuse unchanged.

Install

Download HearoPilot-v1.32.03-debug.apk below (debug build, compiled from source by CI).