From 8189d21445c27e260aeb456e5d7e3ba06f0d5da0 Mon Sep 17 00:00:00 2001 From: chuckbutkus Date: Fri, 13 Mar 2026 19:13:18 -0400 Subject: [PATCH] Fix async call to await return (#13395) --- .../app_conversation/app_conversation_service_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openhands/app_server/app_conversation/app_conversation_service_base.py b/openhands/app_server/app_conversation/app_conversation_service_base.py index 52cdf660d1..0d66e16a4f 100644 --- a/openhands/app_server/app_conversation/app_conversation_service_base.py +++ b/openhands/app_server/app_conversation/app_conversation_service_base.py @@ -404,7 +404,7 @@ class AppConversationServiceBase(AppConversationService, ABC): # Check if there's an existing pre-commit hook with tempfile.TemporaryFile(mode='w+t') as temp_file: - result = workspace.file_download(PRE_COMMIT_HOOK, str(temp_file)) + result = await workspace.file_download(PRE_COMMIT_HOOK, str(temp_file)) if result.get('success'): _logger.info('Preserving existing pre-commit hook') # an existing pre-commit hook exists