<?php
$_SERVER['HTTP_HOST'] = 'localhost';
$_SERVER['DOCUMENT_ROOT'] = 'C:/xampp/htdocs';

error_reporting(E_ALL);
ini_set('display_errors', 1);
include 'config/database.php';
include 'llm/api/koneksi_gemini.php';
$res = mysqli_query($conn, 'SELECT * FROM settings WHERE id = 1');
$cfg = mysqli_fetch_assoc($res);
$res2 = executeInternalLLM('Test', null, 0.4, $conn, $cfg, 'gemini', 'System', 'Test', '');
var_dump($res2);
