From 9ce0c9943b6439e0bfd7e1f5020b05e5d49d979e Mon Sep 17 00:00:00 2001 From: Jonathan Lucas Date: Sat, 9 Aug 2025 18:19:42 -0500 Subject: [PATCH] Clean quotes from code when submitting --- tools/github_tool.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/github_tool.py b/tools/github_tool.py index 8b6913c..1808084 100644 --- a/tools/github_tool.py +++ b/tools/github_tool.py @@ -688,6 +688,7 @@ class GitHubTool(BaseTool): return error_message def _commit_file(self, file_path, content, commit_message): + content.strip("'''") self.logger.info(f"Committing file: {file_path} to branch: {self.current_branch} with message: '{commit_message}'") if self.current_branch == "main": error_message = "Action directly to main branch is not allowed. Please create and switch to a new branch first."