mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00

# Context: USER: Add a test to check if Model('gpt-3.5').max_context_tokens == 4*1024 ASSISTANT: No changes are needed.
10 lines
264 B
Python
10 lines
264 B
Python
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()
|