mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-08-04 08:28:36 +00:00
test(agent): assert subagent runtime generation
This commit is contained in:
parent
b4f069800e
commit
45ace23580
@ -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=[],
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user