From a04bb95df710a111e29467499a0728f029fdceef Mon Sep 17 00:00:00 2001 From: digital-garbage <133010426+digital-garbage@users.noreply.github.com> Date: Sat, 16 May 2026 14:36:08 +0300 Subject: [PATCH] Release 2.5.3 - docs, changelog, version bump Co-Authored-By: Claude Sonnet 4.6 --- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d2108eef..efaa9a6c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [2.5.3] - 2026-05-16 + +### Fixed + +Fixed `FunPackAdvisorLLM` wrapper not triggering advisor generation. Qwen3 and other chain-of-thought models emit `...` blocks that were not stripped, causing the parsed repaired prompt to contain reasoning text. This made body-similarity validation reject the result as "too far from intent." Fixed by stripping thinking blocks in `decode`. Also added `enable_thinking` kwarg support in `tokenize` (with TypeError fallback for models that don't support it) and expanded `max_new_tokens` by 2048 when thinking mode is active so the reasoning budget does not crowd out the actual response. Fixed `_v2_text_semantic_similarity` returning 0.0 for generation-only clips that have no `encode_from_tokens_scheduled` - these now return 1.0 (skip the semantic gate) instead of causing spurious rejections. Fixed `FunPackAdvisorLLM` missing from the standalone import block in `__init__.py`, which broke the test suite. + +Removed Perfect-rating advisor gate. The advisor was silently skipping both the analysis pass and the repair pass whenever the rating was Perfect and no text feedback was provided, even when the user had an active advisor mode. Perfect is not a ceiling - if the user provides `feedback_prompt`, it must be honored regardless of rating. The only remaining guard is the `allow_prompt_change` check (Learning mode). + ## [2.5.1] - 2026-05-16 ### Added diff --git a/pyproject.toml b/pyproject.toml index 8bf31759..c04cdbc4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ [project] name = "ComfyUI-FunPack" # Unique identifier for your node. Immutable after creation. description = "A set of nodes for experiments with video generation models, including prompt refinement, adaptive LoRA weight workflows, story tools, video stitching, lorebook enhancement and more." -version = "2.5.1" # Custom Node version. Must be semantically versioned. +version = "2.5.3" # Custom Node version. Must be semantically versioned. license = { text = "GNU GPL v3" } dependencies = [] # Filled in from requirements.txt