Files
stack/tests/llm/test_config.py
kert 31d9f27d11 feat(llm): cap cited sources with round-robin interleave (max_total)
code_cited_sources gains max_total (default 12, <=0 = unlimited): after
the existing per-collection caps and dedupe, code-cited rows are
round-robin interleaved across the configured collections in order,
then family-cited rows the same way, appended after — so one chatty
collection can no longer crowd the others out ahead of a truncation
cut. New [llm] knob code_cited_max wires it from config into
stream_answer. Also guards code_cited_collections against a bare
scalar string in stack.toml collapsing into a tuple of characters.
2026-09-10 00:55:58 -04:00

4.7 KiB