From 1e3480e6582d0387537541a0e29e03237bb5bbf1 Mon Sep 17 00:00:00 2001 From: KaySar12 Date: Tue, 13 May 2025 19:10:15 +0700 Subject: [PATCH] feat(interpreter): improve commit message generation delete commit convention script as it's outdated update gen_commit.py to enhance commit message creation logic --- scripts/interpreter/gen_commit.py | 2 +- scripts/interpreter/{ => resources}/commit_convention.txt | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename scripts/interpreter/{ => resources}/commit_convention.txt (100%) diff --git a/scripts/interpreter/gen_commit.py b/scripts/interpreter/gen_commit.py index 4c20862..2e76259 100755 --- a/scripts/interpreter/gen_commit.py +++ b/scripts/interpreter/gen_commit.py @@ -40,7 +40,7 @@ def gen_commit(project_path): agent = OpenInterpreter() agent.auto_run = True with open( - "/root/dev/Bifrost/registry/scripts/interpreter/commit_convention.txt", "r" + f"{project_path}/scripts/interpreter/resources/commit_convention.txt", "r" ) as f: file_content = f.read() agent.system_message = f""" diff --git a/scripts/interpreter/commit_convention.txt b/scripts/interpreter/resources/commit_convention.txt similarity index 100% rename from scripts/interpreter/commit_convention.txt rename to scripts/interpreter/resources/commit_convention.txt