<?php
require('include/functions.php');
echo "Dialogflow Active: " . (sb_get_multi_setting('dialogflow', 'dialogflow-active') ? 'YES' : 'NO') . "\n";
echo "OpenAI Active: " . (sb_get_multi_setting('open-ai', 'open-ai-active') ? 'YES' : 'NO') . "\n";
echo "sb_native_flow_run exists? " . (function_exists('sb_native_flow_run') ? 'YES' : 'NO') . "\n";

// Load dialogflow explicitly to see if it works if loaded
require_once('apps/dialogflow/functions.php');
echo "After require, sb_native_flow_run exists? " . (function_exists('sb_native_flow_run') ? 'YES' : 'NO') . "\n";
?>
