mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-04 22:19:42 +08:00
Chat-path wiring for #2693 P1. `AgenticChatPipeline` now builds its client through `build_chain_client`, which returns today's single client unless the catalog declares fallbacks *and* at least two candidates are healthy — so the default configuration is untouched. When a chain exists, the loop spends its existing pre-output retry on the next candidate: it records the failure (cooling that candidate down), advances, announces the switch, and retries the same round. This happens only where the loop already knows nothing was emitted, so no partial answer is ever replayed. After the switch the provider label and fallback count come from the new candidate, so the P0 failure copy keeps telling the truth. Not in this commit: the services-layer path (P2), catalog validation and the settings editor (P3). Those, plus the integrated failover tests, are next.