feat: [ai-config] Notion API 설정 UI 추가
- AI 설정 페이지에 Notion 섹션 추가 (추가/수정/삭제) - AiConfig에 API_SERVICE_PROVIDERS 상수 분리 - Notion 전용 모달 (API 키, API 버전, 활성화)
This commit is contained in:
@@ -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,
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user