Skip to content

Commit 3d62a37

Browse files
authored
Merge pull request #1075 from Pythagora-io/fix
Fix for when there are no backend or frontend logs
2 parents 8332a48 + 42b28de commit 3d62a37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/prompts/bug-hunter/log_data.prompt

+1
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ Here are the logs we added to the frontend:
1010
{% endif %}{% if fix_attempted %}
1111
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.
1212
{% endif %}
13+
{% if backend_logs is none and frontend_logs is none and fix_attempted == false %}Human didn't supply any data{% endif %}

0 commit comments

Comments
 (0)