fix: correct provider URL formatting in syncModelScopeServers function (#9852)

This commit is contained in:
LiuVaayne 2025-09-03 19:34:48 +08:00 committed by GitHub
parent b1a9fbc6fd
commit 24bc878c27
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -116,7 +116,7 @@ export const syncModelScopeServers = async (
env: {},
isActive: true,
provider: 'ModelScope',
providerUrl: `${MODELSCOPE_HOST}/mcp/servers/@${server.id}`,
providerUrl: `${MODELSCOPE_HOST}/mcp/servers/${server.id}`,
logoUrl: server.logo_url || '',
tags: server.tags || []
}