fix: update cloud service URL retrieval and enhance model synchronization error handling

This commit is contained in:
Junyan Qin
2026-01-01 12:50:26 +08:00
parent 4528000fc4
commit b99c5561fc
3 changed files with 8 additions and 7 deletions

View File

@@ -17,11 +17,7 @@ class SystemRouterGroup(group.RouterGroup):
'enable_marketplace', True
),
'cloud_service_url': (
self.ap.instance_config.data.get('plugin', {}).get(
'cloud_service_url', 'https://space.langbot.app'
)
if 'cloud_service_url' in self.ap.instance_config.data.get('plugin', {})
else 'https://space.langbot.app'
self.ap.instance_config.data.get('space', {}).get('url', 'https://space.langbot.app')
),
'allow_modify_login_info': self.ap.instance_config.data.get('system', {}).get(
'allow_modify_login_info', True