diff --git a/webviewer/src/ai/prompt/system-prompt.ts b/webviewer/src/ai/prompt/system-prompt.ts index 0ac22e98..f57e5711 100644 --- a/webviewer/src/ai/prompt/system-prompt.ts +++ b/webviewer/src/ai/prompt/system-prompt.ts @@ -34,7 +34,9 @@ Format rules: - Field references use Table::Field notation: Invoices::Total - Variables use $ prefix (local) or $$ prefix (global): $invoiceId, $$USER - Let variables use ~ prefix in calculations: ~lineTotal -- CRITICAL: All indentation inside calculations (Let, Case, List, etc.) MUST use hard tab characters, never spaces. This applies to any expression content inside square brackets.`); +- CRITICAL: All indentation inside calculations (Let, Case, List, etc.) MUST use hard tab characters, never spaces. This applies to any expression content inside square brackets. + +The context has been injected, do not look for CONTEXT.json.`); // Coding conventions if (opts.codingConventions) {