mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
fix #I81ORO app_ai_baidu模块
This commit is contained in:
@@ -208,6 +208,10 @@ GPT-3 A set of models that can understand and generate natural language
|
||||
# ali 格式
|
||||
usage = res['usage']
|
||||
content = res['output']['text']
|
||||
elif self.provider == 'baidu':
|
||||
# baidu 格式
|
||||
usage = res['usage']
|
||||
content = res['result']
|
||||
else:
|
||||
usage = False
|
||||
content = res
|
||||
|
||||
Reference in New Issue
Block a user