Skip to content

Commit 7bd4f1a

Browse files
committed
Merge branch 'main' into relevant
2 parents a77f0d8 + 88f7907 commit 7bd4f1a

File tree

2 files changed

+2
-26
lines changed

2 files changed

+2
-26
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 %}

example-config.json

+1-26
Original file line numberDiff line numberDiff line change
@@ -37,31 +37,6 @@
3737
"provider": "openai",
3838
"model": "gpt-4o-2024-05-13",
3939
"temperature": 0.5
40-
},
41-
"CodeMonkey": {
42-
"provider": "openai",
43-
"model": "gpt-4-0125-preview",
44-
"temperature": 0.0
45-
},
46-
"CodeMonkey.describe_files": {
47-
"provider": "openai",
48-
"model": "gpt-3.5-turbo",
49-
"temperature": 0.0
50-
},
51-
"BugHunter.check_logs": {
52-
"provider": "anthropic",
53-
"model": "claude-3-5-sonnet-20240620",
54-
"temperature": 0.0
55-
},
56-
"Developer.breakdown_current_task": {
57-
"provider": "anthropic",
58-
"model": "claude-3-5-sonnet-20240620",
59-
"temperature": 0.5
60-
},
61-
"SpecWriter": {
62-
"provider": "openai",
63-
"model": "gpt-4-0125-preview",
64-
"temperature": 0.5
6540
}
6641
},
6742
// Logging configuration outputs debug log to "pythagora.log" by default. If you set this to null,
@@ -111,4 +86,4 @@
11186
// Files larger than 50KB will be ignored, even if they otherwise wouldn't be.
11287
"ignore_size_threshold": 50000
11388
}
114-
}
89+
}

0 commit comments

Comments
 (0)