fix: handle gitee old name (#14451)

This commit is contained in:
Joel
2025-02-27 13:51:27 +08:00
committed by GitHub
parent a9dda1554e
commit 78a7d7fa21

View File

@@ -76,7 +76,7 @@ export const correctToolProvider = (provider: string) => {
if (provider.includes('/'))
return provider
if (['stepfun', 'jina', 'siliconflow'].includes(provider))
if (['stepfun', 'jina', 'siliconflow', 'gitee_ai'].includes(provider))
return `langgenius/${provider}_tool/${provider}`
return `langgenius/${provider}/${provider}`