mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
fix gpt
This commit is contained in:
@@ -70,6 +70,7 @@ class Channel(models.Model):
|
||||
res = '\n'.join([x['text'] for x in res['choices']])
|
||||
return res
|
||||
elif provider == 'azure':
|
||||
_logger.warning('=====================azure input data: %s' % data)
|
||||
res = gpt_id.get_openai(data)
|
||||
return res
|
||||
# 获取模型信息
|
||||
|
||||
Reference in New Issue
Block a user