Guys I tried to use OH in Cloud and ask to commit...
# dev-help
h
Guys I tried to use OH in Cloud and ask to commit and push but it does not work because of the commit author
l
When you report errors like this it’d be great if you could get more information, like copy-pasting exactly the error that you are getting.
h
let me try again
f
possible what issues you have read, what you have tried to solve the issue, and other relevant information
h
I tried to ask to commit and push but it failed to deploy on vercel.
let me try to get more infos
l
Oh, for vercel, if you can add “openhands-agent” to your vercel team I think it should work.
Alternatively you can ask openhands to push an empty commit with you as the author and your email address.
Like this:
Copy code
When you are done working, please push an empty commit with the name "Pierre" and email address "[your email address]"
h
mhh let me check. the problem was that it asked i need to login with the account from openhands agent
l
The above is a workaround, and I think if that works you can then configure openhands to use a particular name/email when it commits to solve this issue without adding an extra prompt.
h
will try thx
im not sure how to add it in my team
l
let’s skip the adding it to your team for now
h
Is there a way to add this prompt so it will used it anytime as instructions
h
okay because when starting a new conversation everything is resetted even the packages are removed
l
You can use setup.sh to fix that: https://docs.all-hands.dev/usage/prompting/repository#setup-script (After you’ve had a successful session, you can ask OpenHands to create the setup.sh file for you)
h
thx