mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
app_chatgpt优化
This commit is contained in:
@@ -89,7 +89,7 @@ class Channel(models.Model):
|
||||
ai = user_id.gpt_id
|
||||
|
||||
chatgpt_channel_id = self.env.ref('app_chatgpt.channel_chatgpt')
|
||||
msg = message.description.replace('@%s' % answer_id.name, '').lstrip()
|
||||
msg = message.preview.replace('@%s' % answer_id.name, '').lstrip()
|
||||
|
||||
# print('prompt:', prompt)
|
||||
# print('-----')
|
||||
|
||||
Reference in New Issue
Block a user