mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 18:54:59 +00:00
fix: update test to use correct temperature attribute name
This commit is contained in:
parent
f8f69fadc4
commit
341419788e
1 changed files with 2 additions and 2 deletions
|
@ -121,11 +121,11 @@ class TestModels(unittest.TestCase):
|
||||||
# Test GitHub Copilot models
|
# Test GitHub Copilot models
|
||||||
model = Model("github/o1-mini")
|
model = Model("github/o1-mini")
|
||||||
self.assertEqual(model.name, "github/o1-mini")
|
self.assertEqual(model.name, "github/o1-mini")
|
||||||
self.assertEqual(model.temperature, 0.0) # Should be deterministic
|
self.assertEqual(model.use_temperature, 0.0) # Should be deterministic
|
||||||
|
|
||||||
model = Model("github/o1-preview")
|
model = Model("github/o1-preview")
|
||||||
self.assertEqual(model.name, "github/o1-preview")
|
self.assertEqual(model.name, "github/o1-preview")
|
||||||
self.assertEqual(model.temperature, 0.0) # Should be deterministic
|
self.assertEqual(model.use_temperature, 0.0) # Should be deterministic
|
||||||
|
|
||||||
# Test non-alias passes through unchanged
|
# Test non-alias passes through unchanged
|
||||||
model = Model("gpt-4")
|
model = Model("gpt-4")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue