We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dda8ecd commit 79bc289Copy full SHA for 79bc289
openhands/runtime/base.py
@@ -217,7 +217,7 @@ async def _handle_action(self, event: Action) -> None:
217
assert event.timeout is not None
218
try:
219
if isinstance(event, CmdRunAction):
220
- if '$GITHUB_TOKEN' in event.command and self.user_id:
+ if self.user_id and '$GITHUB_TOKEN' in event.command:
221
gh_client = GithubServiceImpl(user_id=self.user_id)
222
token = await gh_client.get_latest_token()
223
if token:
0 commit comments