mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-16 17:36:07 +00:00
fix: update models_gateway_api_url to include version in cloud service configuration
This commit is contained in:
@@ -10,7 +10,7 @@ class MoveCloudServiceUrl(migration.DBMigration):
|
|||||||
if 'space' not in self.ap.instance_config.data:
|
if 'space' not in self.ap.instance_config.data:
|
||||||
self.ap.instance_config.data['space'] = {
|
self.ap.instance_config.data['space'] = {
|
||||||
'url': 'https://space.langbot.app',
|
'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',
|
'oauth_authorize_url': 'https://space.langbot.app/auth/authorize',
|
||||||
'disable_models_service': False,
|
'disable_models_service': False,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ space:
|
|||||||
# Space service URL for OAuth and API
|
# Space service URL for OAuth and API
|
||||||
url: 'https://space.langbot.app'
|
url: 'https://space.langbot.app'
|
||||||
# Space API URL for model requests (MaaS)
|
# 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 authorization page URL (user will be redirected here)
|
||||||
oauth_authorize_url: 'https://space.langbot.app/auth/authorize'
|
oauth_authorize_url: 'https://space.langbot.app/auth/authorize'
|
||||||
disable_models_service: false
|
disable_models_service: false
|
||||||
|
|||||||
Reference in New Issue
Block a user