Skip to content

Commit

Permalink
fix: fix a typo of get_customizable_model_schema method name (#14449)
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 authored Mar 1, 2025
1 parent ce2dd22 commit 7259c0d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions api/core/model_runtime/model_providers/__base/ai_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,14 +157,9 @@ def get_customizable_model_schema_from_credentials(self, model: str, credentials
:param credentials: model credentials
: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 and fill in the template
"""
# get customizable model schema
schema = self.get_customizable_model_schema(model, credentials)

if not schema:
return None

Expand Down

0 comments on commit 7259c0d

Please sign in to comment.