Hi, I am facing issues in the cloud version of Ope...
# questions
a
Hi, I am facing issues in the cloud version of OpenHands with API's after being added in secrets, they are not available in the environment. Few APIs are working, but two are not - so need a helping hand here! Please lmk if there is a solution to this.
l
If you can come up with a minimal reproducible example, we can take a look!
s
Secrets are not visible to commands ran in terminal by default and you have to trigger OpenHands to inject them by listing the secret name in the command itself. The two main ways I do it are by adding to prompt or a skill: • Describe a command it can use to write it to a config file so the env var is not needed in future command. Example:
echo $H_TOKEN | gh auth login --with-token
• Add the env var at front of command to trick it into injecting it:
GH_TOKEN=$GH_TOKEN gh pr list