Recientemente activé la resumición con IA en mi propio sitio web para ver cómo funciona. Noté que una de las resúmenes contenía un enlace no válido:
[keyd](https://man.arch linux.org/man/extra/keyd/keyd.1.en)
Fue extraño. Así que revisé los registros de la IA. Resultó que había bastante espacios extra en la solicitud, por ejemplo, e nter, Ct rl, host s, etc.
Por si acaso, la publicación está escrita en chino, pero contiene algunas palabras en inglés. También es posible que se inserte un espacio entre caracteres chinos.
3 Me gusta
Parece que la causa es la llamada a truncate en la clase FoldContent.
2 Me gusta
gracias por el reporte @lilydjwg
se corregirá en
main ← fix/summarization-stray-space
merged 08:42AM - 24 Sep 26 UTC
Previously, `FoldContent#truncate` split every post in half and joined the halve… s back with a space, even when nothing needed truncating. Every post sent to the LLM had a stray space in its middle, breaking words and links (e.g. `man.arch linux.org`), which then leaked into summaries. For long posts, the second half kept its first 500 tokens instead of its last ones, so their endings were dropped.
This change sends posts that fit the 1000-token budget untouched and keeps the first and last 500 tokens of longer ones. It also removes the unused `delete_cached_summaries!` and stale comments.
https://meta.discourse.org/t/topic-summarization-sends-to-llm-with-messages-with-extra-spaces-inside-words-or-links/411136
2 Me gusta
zogstrip
Cerrado
30 Septiembre, 2026 10:00
6
Este tema se cerró automáticamente después de 4 días. Ya no se permiten nuevas respuestas.