Add CLIRuntime implementation for local command execution (#8264)

Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
Co-authored-by: Engel Nyst <engel.nyst@gmail.com>
This commit is contained in:
Robert Brennan
2025-05-22 23:03:22 -04:00
committed by GitHub
parent f7cdf4720f
commit 50d4c79094
39 changed files with 1564 additions and 138 deletions

View File

@@ -196,7 +196,7 @@ class GitLabService(BaseGitService, GitService):
full_name=repo.get('path_with_namespace'),
stargazers_count=repo.get('star_count'),
git_provider=ProviderType.GITLAB,
is_public=True
is_public=True,
)
for repo in response
]
@@ -468,7 +468,9 @@ class GitLabService(BaseGitService, GitService):
# Set default description if none provided
if not description:
description = f'Merging changes from {source_branch} into {target_branch}'
description = (
f'Merging changes from {source_branch} into {target_branch}'
)
# Prepare the request payload
payload = {
@@ -477,7 +479,6 @@ class GitLabService(BaseGitService, GitService):
'title': title,
'description': description,
}
# Make the POST request to create the MR
response, _ = await self._make_request(