From c2d78da4da87ef6b9991954fbe7a0cfd4ee7b6e8 Mon Sep 17 00:00:00 2001 From: Ivan Office Date: Wed, 17 Jul 2024 21:55:05 +0800 Subject: [PATCH] update chatgpt --- app_chatgpt/i18n/zh_CN.po | 2 +- app_chatgpt/models/ai_robot.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app_chatgpt/i18n/zh_CN.po b/app_chatgpt/i18n/zh_CN.po index 2650a6a2..ece7ec68 100644 --- a/app_chatgpt/i18n/zh_CN.po +++ b/app_chatgpt/i18n/zh_CN.po @@ -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 diff --git a/app_chatgpt/models/ai_robot.py b/app_chatgpt/models/ai_robot.py index 9f746198..e349b67d 100644 --- a/app_chatgpt/models/ai_robot.py +++ b/app_chatgpt/models/ai_robot.py @@ -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'),