正在显示
2 个修改的文件
包含
3 行增加
和
1 行删除
| @@ -82,7 +82,7 @@ class Common | @@ -82,7 +82,7 @@ class Common | ||
| 82 | $content = str_replace('$keyword$', $param['keywords'], $info['ai']); | 82 | $content = str_replace('$keyword$', $param['keywords'], $info['ai']); |
| 83 | $data = [ | 83 | $data = [ |
| 84 | 'messages'=>[ | 84 | 'messages'=>[ |
| 85 | - ['role'=>'system','content'=>$info['scene']], | 85 | +// ['role'=>'system','content'=>$info['scene']], |
| 86 | ['role'=>'user','content'=>$content.$str], | 86 | ['role'=>'user','content'=>$content.$str], |
| 87 | ] | 87 | ] |
| 88 | ]; | 88 | ]; |
| @@ -4,7 +4,9 @@ namespace App\Http\Logic\Bside\Setting; | @@ -4,7 +4,9 @@ namespace App\Http\Logic\Bside\Setting; | ||
| 4 | 4 | ||
| 5 | use App\Helper\Common; | 5 | use App\Helper\Common; |
| 6 | use App\Http\Logic\Bside\BaseLogic; | 6 | use App\Http\Logic\Bside\BaseLogic; |
| 7 | +use App\Models\Domain\DomainInfo; | ||
| 7 | use App\Models\File\Image; | 8 | use App\Models\File\Image; |
| 9 | +use App\Models\Project\Project; | ||
| 8 | use App\Models\WebSetting\WebSettingService; | 10 | use App\Models\WebSetting\WebSettingService; |
| 9 | use Illuminate\Support\Facades\DB; | 11 | use Illuminate\Support\Facades\DB; |
| 10 | 12 |
-
请 注册 或 登录 后发表评论