fix: update models_gateway_api_url to include version in cloud service configuration

This commit is contained in:
Junyan Qin
2026-01-05 17:58:50 +08:00
parent 9ea5b50802
commit 63bdd71e22
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ class MoveCloudServiceUrl(migration.DBMigration):
if 'space' not in self.ap.instance_config.data:
self.ap.instance_config.data['space'] = {
'url': 'https://space.langbot.app',
'models_gateway_api_url': 'https://api.langbot.cloud',
'models_gateway_api_url': 'https://api.langbot.cloud/v1',
'oauth_authorize_url': 'https://space.langbot.app/auth/authorize',
'disable_models_service': False,
}

View File

@@ -74,7 +74,7 @@ space:
# Space service URL for OAuth and API
url: 'https://space.langbot.app'
# Space API URL for model requests (MaaS)
models_gateway_api_url: 'https://api.langbot.cloud'
models_gateway_api_url: 'https://api.langbot.cloud/v1'
# OAuth authorization page URL (user will be redirected here)
oauth_authorize_url: 'https://space.langbot.app/auth/authorize'
disable_models_service: false