--- ai_client.php
+++ ai_client.php
@@ -2,3 +2,3 @@
 
-function ask_cooleso_ai(string $message): array
+function ask_cooleso_ai(string $message, array $conversationHistory = []): array
 {
@@ -11,3 +11,3 @@
     $payload = json_encode(
-        ['message' => $message],
+        ['message' => $message, 'conversation_history' => $conversationHistory],
         JSON_UNESCAPED_UNICODE
