test(server): replay checks a Claude subagent's thread takes its reported model (#15022)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
1 parent
a6aebbe2e0
commit
2a455570e6
1 file changed
+3
+3
@@ -180,6 +180,9 @@ export function assertClaudeBackgroundSubagentLifecycleOutput(
|
||||
const agentAChild =
|
||||
agentA?.childThreadId == null ? undefined : result.projections.get(agentA.childThreadId);
|
||||
assert.isDefined(agentAChild);
|
||||
// The thread starts on the Agent call's "haiku"; the snapshot's model, which
|
||||
// only arrives with the subagent's first reply, replaces it.
|
||||
assert.equal(agentAChild.thread.modelSelection.model, AGENT_A_OBSERVED_MODEL);
|
||||
assert.deepEqual(assistantTexts(agentAChild), ["A_FIRST", "A_SECOND"]);
|
||||
assert.deepEqual(conversation(agentAChild), [
|
||||
"user:Reply with exactly: A_FIRST",
|
||||
|
||||
Reference in new issue
Block a user