From dec020b5ae4dae0c0f89ddeaf1c557357442b85d Mon Sep 17 00:00:00 2001 From: aran-yogesh Date: Fri, 6 Feb 2026 18:02:59 -0800 Subject: [PATCH] fix: edited custom prompting --- apps/agent/agent/prompt.py | 2 +- apps/agent/agent/tools/commit_and_open_pr.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/agent/agent/prompt.py b/apps/agent/agent/prompt.py index 5b3f1286..535b93a4 100644 --- a/apps/agent/agent/prompt.py +++ b/apps/agent/agent/prompt.py @@ -64,7 +64,7 @@ When you have completed your implementation, follow these steps in order: **Commit message**: Should be concise and focus on the "why" rather than the "what". If not provided, the PR title is used. - + Always call `commit_and_open_pr` as the final step once your implementation is complete and code quality checks pass. diff --git a/apps/agent/agent/tools/commit_and_open_pr.py b/apps/agent/agent/tools/commit_and_open_pr.py index 87182a9e..c29078c1 100644 --- a/apps/agent/agent/tools/commit_and_open_pr.py +++ b/apps/agent/agent/tools/commit_and_open_pr.py @@ -22,7 +22,9 @@ def commit_and_open_pr( The PR title MUST follow this exact format: - : [closes -] + : [closes -] + + The description MUST be entirely lowercase (no capital letters). Where is one of: - fix: for bug fixes