refactor: summarize error message without line number

This commit is contained in:
Florian Hönicke
2023-06-05 17:35:31 +02:00
parent 938d615edc
commit cd408ccefd
2 changed files with 10 additions and 3 deletions

View File

@@ -12,3 +12,4 @@ def test_better_description(tmpdir):
'microservice_description': 'Input is a tweet that contains passive aggressive language. The output is the positive version of that tweet.'
})
assert 'gpt_3_5_turbo' in better_description
assert 'such as' not in better_description