feat(interpreter): improve commit message generation
delete commit convention script as it's outdated update gen_commit.py to enhance commit message creation logic
This commit is contained in:
@@ -40,7 +40,7 @@ def gen_commit(project_path):
|
|||||||
agent = OpenInterpreter()
|
agent = OpenInterpreter()
|
||||||
agent.auto_run = True
|
agent.auto_run = True
|
||||||
with open(
|
with open(
|
||||||
"/root/dev/Bifrost/registry/scripts/interpreter/commit_convention.txt", "r"
|
f"{project_path}/scripts/interpreter/resources/commit_convention.txt", "r"
|
||||||
) as f:
|
) as f:
|
||||||
file_content = f.read()
|
file_content = f.read()
|
||||||
agent.system_message = f"""
|
agent.system_message = f"""
|
||||||
|
|||||||
Reference in New Issue
Block a user