diff options
| -rw-r--r-- | CHANGELOG.md | 17 | ||||
| -rw-r--r-- | llamachat/__init__.py | 2 |
2 files changed, 17 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a6a83c..8d3542e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [0.2.0] - 2026-07-31 +## [0.2.1] - 2026-07-31 + +### Fixed + +- Reasoning could be spliced into the reply. A delta carrying both + `reasoning_content` and an empty `content` was classified by truthiness, + so the thinking fell through to the content branch and the tail of the + model's reasoning was stored and shown as the answer. Deltas are now + classified on the presence of the field, and an empty reasoning delta + renders nothing instead of falling through. +- An unbalanced backtick reflowed the rest of a reply as code. Leaked + thinking is dense with backticks, and an odd count left a run open to the + end of the message. An unterminated fence is now closed before parsing, + with a closer matching the opener's length, and a lone dangling inline + backtick is dropped. This also covers streaming, where a fence is + unclosed on nearly every frame. ### Added diff --git a/llamachat/__init__.py b/llamachat/__init__.py index 1eae2d4..9dbd5c5 100644 --- a/llamachat/__init__.py +++ b/llamachat/__init__.py @@ -12,4 +12,4 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -__version__ = "0.2.0" +__version__ = "0.2.1" |
