Fix: Restore Describe button functionality and correct JSON path

This commit is contained in:
hbrain 2026-05-30 01:24:00 +02:00
parent 9b2e45f1f5
commit 52d56d3e51
4 changed files with 22 additions and 38 deletions

View file

@ -71,7 +71,7 @@ exec($cmd, $out_lines, $rc);
$log = implode("\n", $out_lines);
// If gemini_generated.json exists, parse and return
$gfile = $jobdir . '/gemini_generated.json';
$gfile = dirname($jobdir) . '/' . basename($jobdir) . '.json';
if (is_file($gfile)) {
$raw = @file_get_contents($gfile);
$json = @json_decode($raw, true);