mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 22:34:59 +00:00
test: reorganize model test cases for better readability
This commit is contained in:
parent
341419788e
commit
9121026856
1 changed files with 5 additions and 4 deletions
|
@ -118,6 +118,11 @@ class TestModels(unittest.TestCase):
|
|||
model = Model("opus")
|
||||
self.assertEqual(model.name, "claude-3-opus-20240229")
|
||||
|
||||
# Test non-alias passes through unchanged
|
||||
model = Model("gpt-4")
|
||||
self.assertEqual(model.name, "gpt-4")
|
||||
|
||||
def test_o1_use_temp_false(self):
|
||||
# Test GitHub Copilot models
|
||||
model = Model("github/o1-mini")
|
||||
self.assertEqual(model.name, "github/o1-mini")
|
||||
|
@ -127,10 +132,6 @@ class TestModels(unittest.TestCase):
|
|||
self.assertEqual(model.name, "github/o1-preview")
|
||||
self.assertEqual(model.use_temperature, 0.0) # Should be deterministic
|
||||
|
||||
# Test non-alias passes through unchanged
|
||||
model = Model("gpt-4")
|
||||
self.assertEqual(model.name, "gpt-4")
|
||||
|
||||
def test_aider_extra_model_settings(self):
|
||||
import tempfile
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue