Skip to content

Commit 6217d34

Browse files
committed
test(planning): align fixtures with Goal horizon default
Signed-off-by: huangruiteng <huangrt01@163.com>
1 parent d5d1a7e commit 6217d34

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

‎benchmark/tests/test_task_entry.py‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,14 @@ async def prepared(*args, **kwargs):
435435

436436
async def cli(environment, args, **kwargs):
437437
calls.append(args)
438-
return {"after": {"execution_profile": {"replan_after_effective_turns": 6}}}
438+
return {
439+
"after": {
440+
"execution_profile": {
441+
"replan_after_effective_turns": 6,
442+
"planning_horizon_goal": True,
443+
}
444+
}
445+
}
439446

440447
async def no_pending(**kwargs):
441448
return SimpleNamespace(return_code=1)

‎tests/test_chat_machine_configuration_api.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,7 @@ def test_inspection_lists_registered_namespaces_without_local_refs(
362362
"count_unit": "effective_turns",
363363
"count": 6,
364364
"stride_strategy": "off",
365+
"planning_horizon_goal": True,
365366
}
366367
assert namespace_catalog["change_quality_qualification"][
367368
"configuration_template"

0 commit comments

Comments
 (0)