Fix: Reduce log noise for optional org-level .openhands repositories (#12456)

Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
Graham Neubig
2026-01-15 18:27:34 -05:00
committed by GitHub
parent 6e4ac8e2ce
commit f5315887ec
6 changed files with 26 additions and 8 deletions

View File

@@ -29,7 +29,9 @@ class ResolverUserContext(UserContext):
return UserInfo(id=user_id)
async def get_authenticated_git_url(self, repository: str) -> str:
async def get_authenticated_git_url(
self, repository: str, is_optional: bool = False
) -> str:
# This would need to be implemented based on the git provider tokens
# For now, return a basic HTTPS URL
return f'https://github.com/{repository}.git'