Skip to content

Commit 1165007

Browse files
acelyc111chinnsenn
authored and
chinnsenn
committed
fix: fix a typo of get_customizable_model_schema method name (langgenius#14449)
1 parent bc03d0d commit 1165007

File tree

1 file changed

+1
-6
lines changed
  • api/core/model_runtime/model_providers/__base

1 file changed

+1
-6
lines changed

api/core/model_runtime/model_providers/__base/ai_model.py

+1-6
Original file line numberDiff line numberDiff line change
@@ -157,14 +157,9 @@ def get_customizable_model_schema_from_credentials(self, model: str, credentials
157157
:param credentials: model credentials
158158
:return: model schema
159159
"""
160-
return self._get_customizable_model_schema(model, credentials)
161160

162-
def _get_customizable_model_schema(self, model: str, credentials: dict) -> Optional[AIModelEntity]:
163-
"""
164-
Get customizable model schema and fill in the template
165-
"""
161+
# get customizable model schema
166162
schema = self.get_customizable_model_schema(model, credentials)
167-
168163
if not schema:
169164
return None
170165

0 commit comments

Comments
 (0)