Fix: Restore Describe button functionality and correct JSON path
This commit is contained in:
parent
9b2e45f1f5
commit
52d56d3e51
4 changed files with 22 additions and 38 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue