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/6d5c66b4112bf3e25069137c
Modified Files:
	exec/chat_llm.js
Log Message:
chat_llm: rewrite mechanical empty-tool-result phrasing

When a tool returns no hits, the model sometimes echoes a database-style
"No results found for X" / "I couldn't find any info on X" -- which
reads like an error, not the guru. final_reply_postprocess() now
rewrites a whole-reply no-results admission into the guru's natural
voice ("haven't come across anything on X"), preserving the topic.
Anchored to the full trimmed reply so it only fires when the WHOLE
reply is that admission, never on a sentence that merely says "found".

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

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