mirror of
https://github.com/aljazceru/dev-gpt.git
synced 2025-12-20 23:24:20 +01:00
⏪ fix: self healing response parser
This commit is contained in:
@@ -52,7 +52,6 @@ def test_self_healing_json_parser(tmpdir):
|
||||
os.environ['VERBOSE'] = 'true'
|
||||
GPTSession(os.path.join(str(tmpdir), 'log.json'), model='gpt-3.5-turbo')
|
||||
json_response = '''\
|
||||
solutions.json
|
||||
```json
|
||||
{
|
||||
"1": "Change line 7 of microservice.py to 'pdf_file = input_dict['pdf_file'].encode('latin-1')' to convert the bytes object to a string before passing it to PyPDF2.",
|
||||
|
||||
Reference in New Issue
Block a user