BBS:      TELESC.NET.BR
Assunto:  exec/chat_llm.js
De:       Rob Swindell (on Debian Linux)
Data:     Fri, 29 May 2026 23:59:56 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/9a7defa683da7dadc7fa263f
Modified Files:
	exec/chat_llm.js
Log Message:
chat_llm: strip bare tool-name leaks from replies

The model sometimes names an internal tool in user-facing prose without
parens -- e.g. "...checking out the documents linked from
external_archives: " or "the this_bbs tool shows...". The leak-strip
only handled the with-parens form (and didn't list external_archives at
all). Add external_archives to that list and add a bare-name strip
(optional lead-in preposition/article + tool name + optional "tool" +
trailing colon). Leftover whitespace is collapsed by the existing
cleanup pass; URLs in the sentence survive.

Co-Authored-By: Claude Opus 4.8 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]