diff --git a/backend/app/Controllers/ChatbotController.php b/backend/app/Controllers/ChatbotController.php index f8aabf6..dd53068 100644 --- a/backend/app/Controllers/ChatbotController.php +++ b/backend/app/Controllers/ChatbotController.php @@ -48,8 +48,8 @@ class ChatbotController extends BaseController $saveData = [ 'company_id' => $request->company_id, 'session_id' => !empty($body['session_id']) ? (int)$body['session_id'] : null, - 'trigger_type' => $body['trigger_type'], - 'keyword' => $body['keyword'] ?? null, + 'trigger_type' => 'gemini_ai', + 'keyword' => null, 'ai_prompt' => $body['ai_prompt'] ?? null, 'is_active' => $body['is_active'] ? 1 : 0 ]; diff --git a/backend/public/index.html b/backend/public/index.html index 4e6c867..dd672bd 100644 --- a/backend/public/index.html +++ b/backend/public/index.html @@ -1370,32 +1370,14 @@ -