Skip to content

Commit

Permalink
hide export
Browse files Browse the repository at this point in the history
  • Loading branch information
rbren committed Jan 8, 2025
1 parent a69eb7f commit bfa7268
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion openhands/runtime/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,9 @@ async def _handle_action(self, event: Action) -> None:
def set_github_token(self, github_token: str):
if not github_token:
raise ValueError('github_token must be provided to set a github token')
action = CmdRunAction(command=f'export GITHUB_TOKEN={github_token}')
action = CmdRunAction(
command=f'export GITHUB_TOKEN={github_token}', hidden=True
)
self.log('info', 'Setting github token')
self.run_action(action)

Expand Down

0 comments on commit bfa7268

Please sign in to comment.