Agora Design: Teaching Your Drupal AI Chatbot to Understand Where It Is
Once that token was active, I could inject it directly into the system prompt for my chatbot’s AI Agent:function my_get_current_ai_context(): string { $entity = NULL; $route_match = Drupal::routeMatch(); // Detect whether we’re in…












