fix: handle None git_full_clone from DB in SaasSettingsStore (#14988)

Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
Tim O'Farrell
2026-06-25 17:15:28 +00:00
committed by GitHub
co-authored by openhands
parent 7e263d60be
commit 3ed5b5c806
@@ -218,6 +218,9 @@ class SaasSettingsStore(SettingsStore):
# Apply default if sandbox_grouping_strategy is None in the database
if 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