diff --git a/core/prompts/bug-hunter/log_data.prompt b/core/prompts/bug-hunter/log_data.prompt index d74ec13ea..af76a1a67 100644 --- a/core/prompts/bug-hunter/log_data.prompt +++ b/core/prompts/bug-hunter/log_data.prompt @@ -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 %} diff --git a/example-config.json b/example-config.json index f41fe7948..24b2fdc7c 100644 --- a/example-config.json +++ b/example-config.json @@ -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, @@ -111,4 +86,4 @@ // Files larger than 50KB will be ignored, even if they otherwise wouldn't be. "ignore_size_threshold": 50000 } -} \ No newline at end of file +}