Skip to content

Commit 91afbcd

Browse files
committed
fix: add hunyuan llm error
--bug=1050875 --user=刘瑞斌 【模型管理】-添加腾讯混元大语言模型失败 https://www.tapd.cn/57709429/s/1637470
1 parent efa73c8 commit 91afbcd

File tree

1 file changed

+1
-1
lines changed
  • apps/setting/models_provider/impl/tencent_model_provider/credential

1 file changed

+1
-1
lines changed

apps/setting/models_provider/impl/tencent_model_provider/credential/llm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def _validate_credential_fields(cls, model_credential, raise_exception=False):
3636
return False
3737
return True
3838

39-
def is_valid(self, model_type, model_name, model_credential, provider, model_params, raise_exception=False):
39+
def is_valid(self, model_type, model_name, model_credential, model_params, provider, raise_exception=False):
4040
if not (self._validate_model_type(model_type, provider, raise_exception) and
4141
self._validate_credential_fields(model_credential, raise_exception)):
4242
return False

0 commit comments

Comments
 (0)