style: Pint 포맷팅 적용

This commit is contained in:
김보곤
2026-02-25 11:45:01 +09:00
parent 68b1622a4e
commit 9a7c548246
199 changed files with 1420 additions and 1083 deletions

View File

@@ -31,7 +31,7 @@ public function filterHealthTrending(array $trendingKeywords): array
$keywordList = collect($trendingKeywords)->map(function ($item, $i) {
$news = ! empty($item['news_title']) ? " (뉴스: {$item['news_title']})" : '';
return ($i + 1) . ". {$item['keyword']}{$news}";
return ($i + 1).". {$item['keyword']}{$news}";
})->implode("\n");
$prompt = <<<PROMPT
@@ -122,7 +122,7 @@ public function reframeAsHealthTrending(array $trendingKeywords): array
$keywordList = collect($trendingKeywords)->take(10)->map(function ($item, $i) {
$news = ! empty($item['news_title']) ? " (뉴스: {$item['news_title']})" : '';
return ($i + 1) . ". {$item['keyword']}{$news}";
return ($i + 1).". {$item['keyword']}{$news}";
})->implode("\n");
$prompt = <<<PROMPT
@@ -415,7 +415,7 @@ private function callGemini(string $prompt): ?string
/**
* Gemini API 호출 (멀티모달 지원 - 텍스트 + 이미지)
*
* @param array $parts [['text' => '...'], ['inlineData' => ['mimeType' => '...', 'data' => '...']]]
* @param array $parts [['text' => '...'], ['inlineData' => ['mimeType' => '...', 'data' => '...']]]
*/
public function callGeminiWithParts(array $parts, float $temperature = 0.9, int $maxTokens = 4096): ?string
{