falsche Python-Datei referenziert

This commit is contained in:
2024-11-18 23:22:55 +01:00
parent 0debcee7cc
commit a41ebc2e98

View File

@@ -7,7 +7,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
if (!empty($userMessage)) {
// Python-Skript aufrufen
$command = escapeshellcmd("python3 assistant_api.py " . escapeshellarg($userMessage));
$command = escapeshellcmd("python3 assistant.py " . escapeshellarg($userMessage));
$response = shell_exec($command);
$assistantResponse = json_decode($response, true);
}