mirror of
https://github.com/aljazceru/dev-gpt.git
synced 2025-12-20 23:24:20 +01:00
➕ refactor: summarize error message without line number
This commit is contained in:
@@ -48,9 +48,7 @@ def test_extract_content_from_result(plain_text, expected1, expected2):
|
||||
assert parsed_result2 == expected2
|
||||
|
||||
|
||||
def test_self_healing_json_parser(tmpdir):
|
||||
os.environ['VERBOSE'] = 'true'
|
||||
GPTSession(os.path.join(str(tmpdir), 'log.json'), model='gpt-3.5-turbo')
|
||||
def test_self_healing_json_parser(init_gpt):
|
||||
json_response = '''\
|
||||
```json
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user