Default model reasoning effort to medium
This commit is contained in:
@@ -29,7 +29,10 @@ def test_cli_emits_structured_return_and_data(monkeypatch: Any, capsys, tmp_path
|
||||
def fake_assess_task_safety(*_args, **_kwargs):
|
||||
return True, "safe", {"safe": True}
|
||||
|
||||
captured_kwargs: dict[str, Any] = {}
|
||||
|
||||
def fake_run_job(*_args, **_kwargs):
|
||||
captured_kwargs.update(_kwargs)
|
||||
result = AgentResult(
|
||||
completed=True,
|
||||
result="Done",
|
||||
@@ -66,3 +69,4 @@ def test_cli_emits_structured_return_and_data(monkeypatch: Any, capsys, tmp_path
|
||||
assert payload["response"]["data"] == "file1.txt\nfile2.txt"
|
||||
assert payload["return"] == "Task completed successfully"
|
||||
assert payload["data"] == "file1.txt\nfile2.txt"
|
||||
assert captured_kwargs["options"].reasoning_effort == "medium"
|
||||
|
||||
Reference in New Issue
Block a user