deploy: auto commit repo-root changes 2026-06-13 11:35:15

This commit is contained in:
hajimi
2026-06-13 11:35:15 +08:00
parent 50f0b6aff5
commit 93474019a4
3 changed files with 182 additions and 48 deletions
@@ -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,
]);
}