fix: Disable streaming for Coder in test_reasoning to ensure consistent output

This commit is contained in:
Paul Gauthier 2025-03-07 16:54:22 -08:00 committed by Paul Gauthier (aider)
parent c893bc21ab
commit 4a6c4b95f1

View file

@ -15,7 +15,7 @@ class TestReasoning(unittest.TestCase):
# Setup model and coder # Setup model and coder
model = Model("gpt-3.5-turbo") model = Model("gpt-3.5-turbo")
coder = Coder.create(model, None, io=io) coder = Coder.create(model, None, io=io, stream=False)
# Test data # Test data
reasoning_content = "My step-by-step reasoning process" reasoning_content = "My step-by-step reasoning process"