mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
fix
This commit is contained in:
@@ -173,7 +173,6 @@ class Channel(models.Model):
|
||||
messages.append({"role": "system", "content": channel.description})
|
||||
|
||||
try:
|
||||
messages = []
|
||||
c_history = self.get_openai_context(channel.id, author_id, answer_id, openapi_context_timeout, chat_count)
|
||||
if c_history:
|
||||
messages += c_history
|
||||
|
||||
Reference in New Issue
Block a user