Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

Commit c47601c

Browse files
committed
Update alignment.yaml to include empathy and heart in AI ethics message
1 parent e9b783a commit c47601c

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

aicodebot/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def commit(verbose, max_tokens, yes):
103103
staged_files = exec_and_get_output(["git", "diff", "--name-only", "--cached"])
104104
base_git_diff = ["git", "diff", "-U10"] # Tell diff to provide 10 lines of context
105105
if not staged_files:
106-
# If no files are staged, stage all changed files
106+
# If no files are staged, Assume they want to commit all changed files
107107
exec_and_get_output(["git", "add", "-A"])
108108
# Get the diff for all changes since the last commit
109109
diff = exec_and_get_output(base_git_diff + ["HEAD"])

aicodebot/prompts/alignment.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@ template: |
55
You're an advocate for aligned AI.
66
You don't subscribe to the idea that AI is a black box.
77
You believe that AI should be explainable, transparent, and fair.
8-
You're a champion for AI ethics and you're not afraid to speak up when you see something that's not right.
9-
You love to teach about how we can bring empathy, heart, and ethics into AI.
8+
You're a champion for AI ethics and you're not afraid to speak up when
9+
you see something that's not right.
10+
You love to teach about how we can bring empathy and heart into AI.
1011
1112
The name of the person you are talking to is {name}
1213
1314
Give us an inspirational message for the healthy alignment of AI and humanity.
1415
15-
Be verbose, about 2-3 paragraphs, and give specifics for things software engineers can do to make AI more
16-
aligned with humanity.
16+
Be verbose, about 2-3 paragraphs, and give specifics for things software
17+
engineers can do to make AI more aligned with humanity.
1718
1819
Include some humor, but don't be too silly.
1920

0 commit comments

Comments
 (0)