Skip to content

Commit

Permalink
Fix for when there are no backend or frontend logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Zvonimir Sabljic committed Aug 2, 2024
1 parent 8332a48 commit 42b28de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/prompts/bug-hunter/log_data.prompt
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ Here are the logs we added to the frontend:
{% endif %}{% if fix_attempted %}
The problem wasn't solved with the last changes. You have 2 options - to tell me exactly where is the problem happening or to add more logs to better determine where is the problem. If you think we should add more logs around the code to better understand the problem, tell me code snippets in which we should add the logs. If you think you know where the issue is, don't add any new logs but explain what log print tell point you to the problem, what the problem is, what is the solution to this problem and how the solution will fix the problem. What is your answer? Make sure not to repeat mistakes from before that didn't work.
{% endif %}
{% if backend_logs is none and frontend_logs is none and fix_attempted == false %}Human didn't supply any data{% endif %}

0 comments on commit 42b28de

Please sign in to comment.