Skip to content

Commit

Permalink
Merge branch 'main' into relevant
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonOstrez committed Aug 2, 2024
2 parents a77f0d8 + 88f7907 commit 7bd4f1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 26 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 %}
27 changes: 1 addition & 26 deletions example-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,31 +37,6 @@
"provider": "openai",
"model": "gpt-4o-2024-05-13",
"temperature": 0.5
},
"CodeMonkey": {
"provider": "openai",
"model": "gpt-4-0125-preview",
"temperature": 0.0
},
"CodeMonkey.describe_files": {
"provider": "openai",
"model": "gpt-3.5-turbo",
"temperature": 0.0
},
"BugHunter.check_logs": {
"provider": "anthropic",
"model": "claude-3-5-sonnet-20240620",
"temperature": 0.0
},
"Developer.breakdown_current_task": {
"provider": "anthropic",
"model": "claude-3-5-sonnet-20240620",
"temperature": 0.5
},
"SpecWriter": {
"provider": "openai",
"model": "gpt-4-0125-preview",
"temperature": 0.5
}
},
// Logging configuration outputs debug log to "pythagora.log" by default. If you set this to null,
Expand Down Expand Up @@ -111,4 +86,4 @@
// Files larger than 50KB will be ignored, even if they otherwise wouldn't be.
"ignore_size_threshold": 50000
}
}
}

0 comments on commit 7bd4f1a

Please sign in to comment.