update gpt

This commit is contained in:
ivan deng
2023-03-02 18:49:02 +08:00
parent 78148ba496
commit d1df5692da
7 changed files with 27022 additions and 13 deletions

View File

@@ -7,5 +7,4 @@ from odoo import fields, models
class ResConfigSettings(models.TransientModel):
_inherit = "res.config.settings"
openapi_api_key = fields.Char(string="API Key", help="Provide the API key here", config_parameter="app_chatgpt.openapi_api_key")
openapi_context_timeout = fields.Integer(string="上下文连接超时", help="多少秒以内的聊天信息作为上下文继续", config_parameter="app_chatgpt.openapi_context_timeout")