mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-14 03:25:57 +08:00
fix: fix a typo of get_customizable_model_schema method name (#14449)
This commit is contained in:
parent
ce2dd22bd7
commit
7259c0d69f
@ -157,14 +157,9 @@ class AIModel(BaseModel):
|
|||||||
:param credentials: model credentials
|
:param credentials: model credentials
|
||||||
:return: model schema
|
:return: model schema
|
||||||
"""
|
"""
|
||||||
return self._get_customizable_model_schema(model, credentials)
|
|
||||||
|
|
||||||
def _get_customizable_model_schema(self, model: str, credentials: dict) -> Optional[AIModelEntity]:
|
# get customizable model schema
|
||||||
"""
|
|
||||||
Get customizable model schema and fill in the template
|
|
||||||
"""
|
|
||||||
schema = self.get_customizable_model_schema(model, credentials)
|
schema = self.get_customizable_model_schema(model, credentials)
|
||||||
|
|
||||||
if not schema:
|
if not schema:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user