Skip to content

fix(logger): return non-tool-call captures back to prose - #9

Merged
Hrt-Htk merged 2 commits into
mainfrom
docs/binary-review-b9670
Jun 19, 2026
Merged

fix(logger): return non-tool-call captures back to prose#9
Hrt-Htk merged 2 commits into
mainfrom
docs/binary-review-b9670

Conversation

@Hrt-Htk

@Hrt-Htk Hrt-Htk commented Jun 19, 2026

Copy link
Copy Markdown
Owner

Bare <function=NAME> tags without JSON arguments are no longer treated as genuine tool calls. Failed rescue captures are returned to prose_parts instead of being discarded, preventing text loss when the model literally mentions markers like <function=read> or <thinking> tags.

Changes:

  • chat_logger.py: Return None for bare function tags; append failed rescue buffer back to prose
  • tests/test_toolcall_rescue.py: Two regression tests for literal marker mentions (tests 10 & 11)
  • .gitignore: Ignore .pi/ and _task.md

Issue #8

Hrt-Htk and others added 2 commits June 16, 2026 16:57
Compare the live llama-server build (b9209) against the latest GitHub
release (b9670), document build-from-source vs prebuilt tradeoffs, and
record that mmproj (vision) + draft-mtp speculative decoding now coexist
as of b9670 (the old multimodal guard is removed).

No GitHub issue ref: ad-hoc upgrade/analysis, not tracked by an issue.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Bare <function=NAME> tags without JSON arguments are no longer
treated as genuine tool calls.  Failed rescue captures are
returned to prose_parts instead of being discarded, preventing
text loss when the model literally mentions markers like
<function=read> or <thinking> tags.

Issue #8
@Hrt-Htk
Hrt-Htk merged commit 91d2a0e into main Jun 19, 2026
1 check passed
@Hrt-Htk
Hrt-Htk deleted the docs/binary-review-b9670 branch June 19, 2026 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant