test(agent): assert subagent runtime generation

This commit is contained in:
chengyongru
2026-07-10 14:18:47 +08:00
parent 5a33d6a025
commit 30943d178b
+1 -1
View File
@@ -114,7 +114,7 @@ async def test_spawn_forwards_temperature_to_run_spec(tmp_path):
seen = {}
async def fake_run(spec):
seen["temperature"] = spec.temperature
seen["temperature"] = spec.runtime.generation.temperature
return SimpleNamespace(
stop_reason="done", final_content="done", error=None, tool_events=[],
)