mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
test: Add test for --reasoning-effort CLI option
This commit is contained in:
parent
14612fc116
commit
476a0ad6ad
1 changed files with 4 additions and 0 deletions
|
@ -824,3 +824,7 @@ class TestMain(TestCase):
|
|||
self.fail(f"main() raised an unexpected exception: {e}")
|
||||
|
||||
self.assertIsNone(result, "main() should return None when called with --exit")
|
||||
|
||||
def test_reasoning_effort_option(self):
|
||||
coder = main(["--reasoning-effort", "3", "--yes", "--exit"], input=DummyInput(), output=DummyOutput(), return_coder=True)
|
||||
self.assertEqual(coder.main_model.extra_params.get("extra_body", {}).get("reasoning_effort"), "3")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue