deploy: auto commit repo-root changes 2026-06-13 11:35:15
This commit is contained in:
@@ -6,6 +6,8 @@ use app\common\model\ai\AiConfig;
|
||||
|
||||
class KbRagService
|
||||
{
|
||||
private const LOTTERY_POST_ANALYSIS_TIMEOUT = 25;
|
||||
|
||||
public static function analyzeMatch(int $matchId, array $matchData, int $userId = 0): array
|
||||
{
|
||||
$retrieval = self::retrieveMatchEvidence($matchId, $matchData, $userId, 'match_analysis');
|
||||
@@ -212,6 +214,10 @@ class KbRagService
|
||||
return DeepSeekClient::defaultModelOptions([
|
||||
'max_tokens' => 1200,
|
||||
'temperature' => 0.35,
|
||||
'timeout' => self::LOTTERY_POST_ANALYSIS_TIMEOUT,
|
||||
'reasoning_effort' => 'low',
|
||||
'retry_times' => 0,
|
||||
'retry_sleep_ms' => 0,
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user