BBS:      TELESC.NET.BR
Assunto:  ctrl/llm_external_archives.jsonexec/chat_llm.js exec/llm_tools/externa
De:       Rob Swindell (on Debian Linux)
Data:     Fri, 29 May 2026 15:58:46 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/54228169d4d52c3a49b0f7d8
Added Files:
	ctrl/llm_external_archives.json
Modified Files:
	exec/chat_llm.js exec/llm_tools/external_archives.js
Log Message:
chat_llm: move curated archive index to ctrl/, fix stale loader path

llm_external_archives.json is hand-curated configuration for a shipped
component (the chat_llm external_archives tool), so it belongs in ctrl/
alongside chat_llm.ini -- not exec/, which is for code. Move it there
and point both readers (chat_llm.js, llm_tools/external_archives.js) at
system.ctrl_dir.

This also fixes a latent bug: chat_llm.js's strip_fake_urls() loaded its
archive URL whitelist from 'chat_external_archives.json' -- a stale name
left over from the chat_->llm_ rename that never existed -- so the valid
set was empty and every legitimate textfiles.com/bbsdocumentary.com URL
the external_archives tool produced was stripped out of the bot's reply.

Update the data file's stale _comment (chat_tools.js ->
llm_tools/external_archives.js).

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

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