[Fix]: Plumb full selected repo object from FE (#7668)

This commit is contained in:
Rohit Malhotra
2025-04-02 22:47:28 -04:00
committed by GitHub
parent d7f651a06c
commit 5deb47aacc
10 changed files with 46 additions and 64 deletions

View File

@@ -174,16 +174,6 @@ class GitLabService(GitService):
for repo in all_repos
]
async def does_repo_exist(self, repository: str) -> bool:
encoded_repo = quote_plus(repository)
url = f'{self.BASE_URL}/projects/{encoded_repo}'
try:
await self._fetch_data(url)
return True
except Exception as e:
print(e)
return False
gitlab_service_cls = os.environ.get(
'OPENHANDS_GITLAB_SERVICE_CLS',