Skip to content

Commit

Permalink
Merge pull request #1141 from gpt-engineer-org/ao/logpath
Browse files Browse the repository at this point in the history
Correct path for debug logs
  • Loading branch information
similato87 authored May 10, 2024
2 parents b559317 + 5c43542 commit 78df4ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gpt_engineer/applications/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ def main(
files_dict = handle_improve_mode(prompt, agent, memory, files_dict_before)
if not files_dict or files_dict_before == files_dict:
print(
f"No changes applied. Could you please upload the debug_log_file.txt in {memory.path} folder in a github issue?"
f"No changes applied. Could you please upload the debug_log_file.txt in {memory.path}/logs folder in a github issue?"
)

else:
Expand Down
2 changes: 1 addition & 1 deletion gpt_engineer/core/default/steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def handle_improve_mode(prompt, agent, memory, files_dict):
files_dict = agent.improve(files_dict, prompt)
except Exception as e:
print(
f"Error while improving the project: {e}\nCould you please upload the debug_log_file.txt in {memory.path} folder to github?\nFULL STACK TRACE:\n"
f"Error while improving the project: {e}\nCould you please upload the debug_log_file.txt in {memory.path}/logs folder to github?\nFULL STACK TRACE:\n"
)
traceback.print_exc(file=sys.stdout) # Print the full stack trace
finally:
Expand Down

0 comments on commit 78df4ba

Please sign in to comment.