refactor: update model params

v3.2
wxg0103 2024-08-19 11:25:00 +08:00
parent 35f3ff779b
commit 1fde17a718
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ class GeminiLLMModelCredential(BaseForm, BaseModelCredential):
api_key = forms.PasswordInputField('API Key', required=True)
def get_other_fields(self):
def get_other_fields(self, model_name):
return {
'temperature': {
'value': 0.7,