mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
fix #I6YOA1 [app_chatgpt] 发送prompt长度的限制,在robot增加 max_send_char参数
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
<field name="openapi_api_key" password="True"/>
|
||||
<field name="max_tokens" optional="show"/>
|
||||
<field name="temperature"/>
|
||||
<field name="max_send_char"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
@@ -40,6 +41,7 @@
|
||||
<field name="frequency_penalty"/>
|
||||
<field name="presence_penalty"/>
|
||||
<field name="sys_content" placeholder="Role-playing and scene setting.Give the model instructions about how it should behave and any context it should reference when generating a response."/>
|
||||
<field name="max_send_char"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="ai_model"/>
|
||||
|
||||
Reference in New Issue
Block a user