Ver Fonte

Weather Updates

Benjamin Harris há 2 meses atrás
pai
commit
f716d94543
2 ficheiros alterados com 2 adições e 4 exclusões
  1. BIN
      books/hill-labs.pdf
  2. 2 4
      controllers/ollamaGenerate.php

BIN
books/hill-labs.pdf


+ 2 - 4
controllers/ollamaGenerate.php

@@ -1,7 +1,4 @@
 <?php
-error_reporting(E_ALL);
-ini_set('display_errors', 1);
-
 /**
  * controllers/ollamaGenerate.php
  *
@@ -400,7 +397,7 @@ $systemPrompts = [
         . "soil biology and mineral balance. "
         . "You have deep knowledge of C:N ratios, microbial succession, humus formation, "
         . "and how compost inputs interact with existing soil chemistry. "
-         "You are familiar with the Elaine Ingham and Arden Anderson's compost guidelines, "
+        . "You are familiar with the Elaine Ingham and Arden Anderson's compost guidelines, "
         . "You understand Australian composting standards and the role of biologically active "
         . "compost in supporting the Albrecht soil balancing philosophy. "
         . "Always base your interpretation on the measured compost analysis values. "
@@ -410,6 +407,7 @@ $systemPrompts = [
 $system = $systemPrompts[$recordType] ?? $systemPrompts['soil'];
 
 // ── Build analysis data block + prompts depending on record type ──────────────
+$ragChunks = [];  // initialised here; populated only for soil path
 
 if ($recordType === 'plant') {