feat: [ai-config] Notion API 설정 UI 추가

- AI 설정 페이지에 Notion 섹션 추가 (추가/수정/삭제)
- AiConfig에 API_SERVICE_PROVIDERS 상수 분리
- Notion 전용 모달 (API 키, API 버전, 활성화)
This commit is contained in:
김보곤
2026-02-22 23:12:49 +09:00
parent 9dbb23f09c
commit 0001915cfb
3 changed files with 243 additions and 1 deletions

View File

@@ -34,10 +34,18 @@ public function index(Request $request): View|Response
->orderBy('name')
->get();
// API 서비스 설정 (notion)
$apiServiceConfigs = AiConfig::whereIn('provider', AiConfig::API_SERVICE_PROVIDERS)
->orderBy('provider')
->orderByDesc('is_active')
->orderBy('name')
->get();
return view('system.ai-config.index', [
'configs' => $aiConfigs,
'aiConfigs' => $aiConfigs,
'storageConfigs' => $storageConfigs,
'apiServiceConfigs' => $apiServiceConfigs,
]);
}