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.
4.7 KiB
4.7 KiB