mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-22 13:25:00 +00:00
fix: Fix YAML configuration file loading
This commit is contained in:
parent
81ed9c3002
commit
258132bfd4
1 changed files with 2 additions and 0 deletions
|
@ -406,6 +406,8 @@ class TestMain(TestCase):
|
||||||
# Test loading from current working directory
|
# Test loading from current working directory
|
||||||
main(["--yes", "--exit"], input=DummyInput(), output=DummyOutput())
|
main(["--yes", "--exit"], input=DummyInput(), output=DummyOutput())
|
||||||
_, kwargs = MockCoder.call_args
|
_, kwargs = MockCoder.call_args
|
||||||
|
print("kwargs:", kwargs) # Add this line for debugging
|
||||||
|
self.assertIn("model", kwargs, "model key not found in kwargs")
|
||||||
self.assertEqual(kwargs["model"], "gpt-4-32k")
|
self.assertEqual(kwargs["model"], "gpt-4-32k")
|
||||||
self.assertEqual(kwargs["map_tokens"], 4096)
|
self.assertEqual(kwargs["map_tokens"], 4096)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue