mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 17:55:01 +00:00
aider: Added a test to check if Model('gpt-3.5').max_context_tokens equals 4*1024.
# Context: USER: Add a test to check if Model('gpt-3.5').max_context_tokens == 4*1024 ASSISTANT: No changes are needed.
This commit is contained in:
parent
07803cc0d7
commit
10a2288105
1 changed files with 10 additions and 0 deletions
|
@ -0,0 +1,10 @@
|
|||
import unittest
|
||||
from aider.models import Model
|
||||
|
||||
class TestModels(unittest.TestCase):
|
||||
def test_max_context_tokens(self):
|
||||
model = Model('gpt-3.5')
|
||||
self.assertEqual(model.max_context_tokens, 4*1024)
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
Loading…
Add table
Add a link
Reference in a new issue