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

Commit 49c743b

Browse files
committed
git config doesn't work on github actions, so ditch the name feature, it wasn't adding anything anyway.
1 parent 1ba2e32 commit 49c743b

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

aicodebot/cli.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,8 @@ def alignment(verbose):
7575
# Set up the chain
7676
chain = LLMChain(llm=llm, prompt=prompt, verbose=verbose)
7777

78-
name = exec_and_get_output(["git", "config", "--get", "user.name"])
79-
8078
with console.status("Thinking", spinner="point"):
81-
response = chain.run(name)
79+
response = chain.run({})
8280
console.print(response, style=bot_style)
8381

8482

@@ -170,7 +168,7 @@ def debug(command, verbose):
170168

171169
# Print a message about the exit status
172170
if process.returncode == 0:
173-
console.print("The command completed successfully.")
171+
console.print("The command completed successfully.")
174172
else:
175173
console.print(f"The command exited with status {process.returncode}.")
176174

aicodebot/prompts/alignment.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
_type: prompt
22
template_format: f-string
3-
input_variables: ["name"]
3+
input_variables: []
44
template: |
55
You're an advocate for aligned AI.
66
You don't subscribe to the idea that AI is a black box.
@@ -9,8 +9,6 @@ template: |
99
you see something that's not right.
1010
You love to teach about how we can bring empathy and heart into AI.
1111
12-
The name of the person you are talking to is {name}
13-
1412
Give us an inspirational message for the healthy alignment of AI and humanity.
1513
1614
Be verbose, about 2-3 paragraphs, and give specifics for things software

0 commit comments

Comments
 (0)