update chatgpt

This commit is contained in:
Ivan Office
2024-07-17 21:55:05 +08:00
parent 1db3e77676
commit c2d78da4da
2 changed files with 2 additions and 2 deletions

View File

@@ -625,7 +625,7 @@ msgstr "Ai回答Token"
#. module: app_chatgpt
#: model:ir.model.fields,field_description:app_chatgpt.field_ai_robot__ai_model
msgid "AI Model"
msgid "Ai Model"
msgstr "Ai模型"
#. module: app_chatgpt

View File

@@ -22,7 +22,7 @@ class AiRobot(models.Model):
provider = fields.Selection(string="AI Provider", selection=[('openai', 'OpenAI'), ('azure', 'Azure')],
required=True, default='openai', change_default=True)
# update ai_robot set ai_model=set_ai_model
ai_model = fields.Char(string="AI Model", required=True, default='auto', help='Customize input')
ai_model = fields.Char(string="Ai Model", required=True, default='auto', help='Customize input')
set_ai_model = fields.Selection(string="Quick Set Model", selection=[
('gpt-3.5-turbo-0125', 'gpt-3.5-turbo-0125(Default and Latest)'),
('gpt-3.5-turbo-0613', 'gpt-3.5-turbo-0613'),