mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 01:39:04 +08:00
fix: handle gitee old name (#14451)
This commit is contained in:
parent
a9dda1554e
commit
78a7d7fa21
@ -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}`
|
||||
|
Loading…
x
Reference in New Issue
Block a user