Skip to content

Commit 63bdd71

Browse files
committed
fix: update models_gateway_api_url to include version in cloud service configuration
1 parent 9ea5b50 commit 63bdd71

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/langbot/pkg/persistence/migrations/dbm017_move_cloud_service_url.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ async def upgrade(self):
1010
if 'space' not in self.ap.instance_config.data:
1111
self.ap.instance_config.data['space'] = {
1212
'url': 'https://space.langbot.app',
13-
'models_gateway_api_url': 'https://api.langbot.cloud',
13+
'models_gateway_api_url': 'https://api.langbot.cloud/v1',
1414
'oauth_authorize_url': 'https://space.langbot.app/auth/authorize',
1515
'disable_models_service': False,
1616
}

src/langbot/templates/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ space:
7474
# Space service URL for OAuth and API
7575
url: 'https://space.langbot.app'
7676
# Space API URL for model requests (MaaS)
77-
models_gateway_api_url: 'https://api.langbot.cloud'
77+
models_gateway_api_url: 'https://api.langbot.cloud/v1'
7878
# OAuth authorization page URL (user will be redirected here)
7979
oauth_authorize_url: 'https://space.langbot.app/auth/authorize'
8080
disable_models_service: false

0 commit comments

Comments
 (0)