π OpenHands: AI-Driven Development
fix: handle None git_full_clone from DB in SaasSettingsStore (#14988)
Tim O'Farrell3ed5b5c80630
diff --git a/enterprise/storage/saas_settings_store.py b/enterprise/storage/saas_settings_store.pyindex 68e3e740eb..dd23d440f0 100644--- a/enterprise/storage/saas_settings_store.py+++ b/enterprise/storage/saas_settings_store.py@@ -218,6 +218,9 @@ class SaasSettingsStore(SettingsStore):# Apply default if sandbox_grouping_strategy is None in the databaseif kwargs.get('sandbox_grouping_strategy') is None:kwargs.pop('sandbox_grouping_strategy', None)+ # Apply default if git_full_clone is None in the database (pre-existing rows)+ if kwargs.get('git_full_clone') is None:+ kwargs.pop('git_full_clone', None)# Profiles in SaaS live on the org (managed via# /api/organizations/{org_id}/profiles). Surface them through# Settings.llm_profiles so the chat-layer endpoints