fix: self healing response parser

This commit is contained in:
Florian Hönicke
2023-05-27 00:00:14 +02:00
parent 8f263c4488
commit e3e2767b0a
5 changed files with 10 additions and 20 deletions

View File

@@ -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.",