正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -30,8 +30,8 @@ class AiCommandController extends BaseController | @@ -30,8 +30,8 @@ class AiCommandController extends BaseController | ||
| 30 | ]); | 30 | ]); |
| 31 | #TODO 通过key获取到ai指令对象 | 31 | #TODO 通过key获取到ai指令对象 |
| 32 | $data = Common::send_openai_msg($this->chat_url,$this->param,$this->companyName($this->param['key'],$this->user['project_id'])); | 32 | $data = Common::send_openai_msg($this->chat_url,$this->param,$this->companyName($this->param['key'],$this->user['project_id'])); |
| 33 | -// $data['text'] = Common::deal_keywords($data['text']); | ||
| 34 | -// $data['text'] = Common::deal_str($data['text']); | 33 | + $data['text'] = Common::deal_keywords($data['text']); |
| 34 | + $data['text'] = Common::deal_str($data['text']); | ||
| 35 | $param = [ | 35 | $param = [ |
| 36 | 'key'=>$this->param['key'], | 36 | 'key'=>$this->param['key'], |
| 37 | 'keywords'=>$this->param['keywords'], | 37 | 'keywords'=>$this->param['keywords'], |
-
请 注册 或 登录 后发表评论