You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gpt_engineer/tools/custom_steps.py
+2-1
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,7 @@ def self_heal(
44
44
prompt: Prompt=None,
45
45
preprompts_holder: PrepromptsHolder=None,
46
46
memory: BaseMemory=None,
47
+
diff_timeout=3,
47
48
) ->FilesDict:
48
49
"""
49
50
Attempts to execute the code from the entrypoint and if it fails, sends the error output back to the AI with instructions to fix.
@@ -111,7 +112,7 @@ def self_heal(
111
112
f"A program with this specification was requested:\n{prompt}\n, but running it produced the following output:\n{stdout_full}\n and the following errors:\n{stderr_full}. Please change it so that it fulfills the requirements."
0 commit comments