mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
refactor: update model params
This commit is contained in:
parent
35f3ff779b
commit
1fde17a718
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue