Fix/custom model credentials (#14450)

This commit is contained in:
Yeuoly
2025-02-27 13:35:41 +08:00
committed by GitHub
parent 9a417bfc5e
commit a9dda1554e
2 changed files with 7 additions and 1 deletions

View File

@@ -180,7 +180,7 @@ class ToolProviderID(GenericProviderID):
def __init__(self, value: str, is_hardcoded: bool = False) -> None:
super().__init__(value, is_hardcoded)
if self.organization == "langgenius":
if self.provider_name in ["jina", "siliconflow", "stepfun"]:
if self.provider_name in ["jina", "siliconflow", "stepfun", "gitee_ai"]:
self.plugin_name = f"{self.provider_name}_tool"