Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Agent Behavior customizable by modifying System Prompt #4924

Closed
RajWorking opened this issue Nov 12, 2024 · 5 comments
Closed

Make Agent Behavior customizable by modifying System Prompt #4924

RajWorking opened this issue Nov 12, 2024 · 5 comments
Assignees
Labels
enhancement New feature or request tracked Added to internal tracking

Comments

@RajWorking
Copy link
Contributor

What problem or use case are you trying to solve?

Generally people want to customize the agent's behavior.
E.g. make fewer code comments, or more.

Describe the UX of the solution you'd like
Users should be able to inject a few lines into the system prompt.

Do you have thoughts on the technical implementation?
Maybe create a section in the navbar where user can type in any modifications to the system prompt that they like.

@RajWorking RajWorking added the enhancement New feature or request label Nov 12, 2024
@h55nick
Copy link

h55nick commented Nov 12, 2024

My understanding is that https://github.com/All-Hands-AI/OpenHands/blob/main/.openhands_instructions should be doing this? It seems to work on the github-resolver work?

@grrowl
Copy link

grrowl commented Nov 23, 2024

+1 — especially for the codeact agent, the system prompt defines the git user and email configuration in a way the LLMs don't seem to accept overriding in user messages like .openhands_instructions (ineffective example below):

10. Git - EXPLICIT INSTRUCTIONS:

- Before committing, configure git to use "admin" as the user.name and "[email protected]" as the user.email.

@mamoodi
Copy link
Collaborator

mamoodi commented Dec 15, 2024

I believe this is being worked on.

@mamoodi mamoodi added the tracked Added to internal tracking label Dec 15, 2024
@neubig
Copy link
Contributor

neubig commented Dec 16, 2024

Hey @RajWorking , is this finished by #4983?

@RajWorking
Copy link
Contributor Author

Yes, we can close this now

@neubig neubig closed this as completed Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tracked Added to internal tracking
Projects
None yet
Development

No branches or pull requests

5 participants