1 parent 940d4e5 commit 7d4064dCopy full SHA for 7d4064d
1 file changed
src/agent/director.ts
@@ -988,7 +988,7 @@ class ChatDirectorImpl extends DefaultDirector {
988
// CL-7918: reactor-supplied live source id (replaces getProviderId). The
989
// completion stamps the source that served it, so a mid-session /model
990
// switch remaps retry stamping from the next completion on; the harness's
991
- // lastCycleSource covers turns whose event carries no source.
+ // lastCycleSource is the call-start snapshot and wins on conflict.
992
if (event.type === "inference.done") {
993
const served = event.source?.sourceId;
994
if (served !== undefined && served !== "") this.currentSourceId = served;
0 commit comments