Browse Source

优化ai接口请求参数

master
wanghongjun 3 months ago
parent
commit
18711b76a8
  1. 2
      app/enterprise/controller/Chat.php

2
app/enterprise/controller/Chat.php

@ -84,7 +84,7 @@ class Chat extends BaseController
$data = [
'model' => 'deepseek-ai/Deepseek-V3',
'max_tokens' => 512,
'enable_thinking' => true,
//'enable_thinking' => true,
'thinking_budget' => 4096,
'min_p' => 0.05,
'temperature' => 0.7,

Loading…
Cancel
Save