mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-10-07 15:58:03 +08:00
fix: handle None git_full_clone from DB in SaasSettingsStore (#14988)
Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user