mirror of
https://github.com/Comfy-Org/ComfyUI.git
synced 2026-08-22 09:16:02 +08:00
decode() rewrote every <channel|> into </think>, including the close of a channel that is not the thought channel. Only close a thought channel that was actually opened in the decoded text; other channel markers are left alone for the caller to strip.
Pytest Unit Tests
Install test dependencies
pip install -r tests-unit/requirements.txt
Run tests
pytest tests-unit/