diff --git a/python/swe/swekit/benchmark/run_evaluation.py b/python/swe/swekit/benchmark/run_evaluation.py index 7914b319bf..3f74ef3108 100644 --- a/python/swe/swekit/benchmark/run_evaluation.py +++ b/python/swe/swekit/benchmark/run_evaluation.py @@ -111,12 +111,12 @@ def get_patch_for_issue(self, workspace_id: str, issue): params={}, ) self.logger.info(f"Get patch response: {get_patch_resp}") - if not get_patch_resp.get("successfull", False): + if not get_patch_resp.get("successful", False): error_message = get_patch_resp.get("error") if error_message: raise Exception(f"Error in get_patch: {error_message}") else: - raise Exception("Unknown error occurred in get_patch") + raise Exception(f"Unknown error occurred in get_patch: {get_patch_resp}") patch_data = get_patch_resp.get("data", {}) if not patch_data: diff --git a/python/swe/swekit/scaffold/templates/crewai/agent.template b/python/swe/swekit/scaffold/templates/crewai/agent.template index 1d2aa86152..a9314d5bef 100644 --- a/python/swe/swekit/scaffold/templates/crewai/agent.template +++ b/python/swe/swekit/scaffold/templates/crewai/agent.template @@ -31,7 +31,7 @@ tools = [ ), *composio_toolset.get_actions( actions=[ - say, # This is just here as an example of a custom tool, you can remove it + # say, # This is just here as an example of a custom tool, you can remove it Action.GITHUB_CREATE_A_PULL_REQUEST ] ),