| ... | ... | @@ -180,6 +180,9 @@ export function assertClaudeBackgroundSubagentLifecycleOutput( |
| 180 | 180 | const agentAChild = |
| 181 | 181 | agentA?.childThreadId == null ? undefined : result.projections.get(agentA.childThreadId); |
| 182 | 182 | assert.isDefined(agentAChild); |
| 183 | // The thread starts on the Agent call's "haiku"; the snapshot's model, which |
| 184 | // only arrives with the subagent's first reply, replaces it. |
| 185 | assert.equal(agentAChild.thread.modelSelection.model, AGENT_A_OBSERVED_MODEL); |
| 183 | 186 | assert.deepEqual(assistantTexts(agentAChild), ["A_FIRST", "A_SECOND"]); |
| 184 | 187 | assert.deepEqual(conversation(agentAChild), [ |
| 185 | 188 | "user:Reply with exactly: A_FIRST", |