mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
init ai wechat
This commit is contained in:
@@ -21,7 +21,7 @@ class Channel(models.Model):
|
||||
return res
|
||||
|
||||
headers = {"Content-Type": "application/json", "Authorization": f"Bearer {api_key}"}
|
||||
R_TIMEOUT = 30
|
||||
R_TIMEOUT = 300
|
||||
o_url = gpt_id.endpoint or "https://api.openai.com/v1/chat/completions"
|
||||
|
||||
# 以下处理 open ai
|
||||
|
||||
Reference in New Issue
Block a user