diff --git a/src/executor_factory.py b/src/executor_factory.py index c7b0a41..bd43b08 100644 --- a/src/executor_factory.py +++ b/src/executor_factory.py @@ -196,7 +196,8 @@ print(response[0].text) # can also be blob in case of image/audio..., this shoul + error_before) if error_before else '') + '\n\nNow, I get the following error:\n' + error + '\n' - + 'Think quickly about possible reasons. ' + + 'Think quickly about possible reasons the error might caused by. ' + 'Decide which files need to be changed. ' 'Then output the files that need change. ' "Don't output files that don't need change. " "If you output a file, then write the complete file. " diff --git a/src/gpt.py b/src/gpt.py index 0c97074..1e53a81 100644 --- a/src/gpt.py +++ b/src/gpt.py @@ -58,7 +58,7 @@ class GPTSession: print('Estimated costs on openai.com:') # print('money prompt:', f'${money_prompt}') # print('money generation:', f'${money_generation}') - print('total money so far:', f'${money_prompt + money_generation}') + print('total money spent so far:', f'${money_prompt + money_generation}') print('\n') def get_conversation(self):