fix: disable thinking mode in Qwen35VL single-episode fallback path

The single-episode `segment_skills` method was missing
`enable_thinking=False` in `apply_chat_template`, causing the model to
output reasoning traces instead of JSON when the batch path fails and
falls back to per-episode processing.

Made-with: Cursor
This commit is contained in:
Pepijn
2026-03-30 15:31:18 +02:00
parent a6387da464
commit 9b211a45d6
@@ -495,7 +495,9 @@ class Qwen35VL(BaseVLM):
},
]
text = self.processor.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
text = self.processor.apply_chat_template(
messages, tokenize=False, add_generation_prompt=True, enable_thinking=False
)
image_inputs, video_inputs = self.process_vision_info(messages)
inputs = self.processor(
text=[text],