This commit is contained in:
Oleg Maslov
2026-09-02 10:14:22 +02:00
parent 0c3e2ead3b
commit b20b138fe4
771 changed files with 161561 additions and 9027 deletions

View File

@@ -73,7 +73,7 @@ const MAX_COMBINED_CHARS = 32000; // ~8000 tokens
const SEPARATOR = '\n\n---\n\n';
/** Hint appended to every composed prompt — encourages DOCX generation for structured content */
const DOCX_HINT = '\n\nWhen generating long, structured content (reports, proposals, analyses), proactively offer to save it as a DOCX document using the generate_docx tool.';
const DOCX_HINT = '\n\nOffer DOCX for long content only if generate_docx exists and file writes/offers are allowed. Never add it to exclusive/no-prose output unless the payload requires DOCX.';
/** W7.3: Tone instruction map — maps workspace tone presets to system prompt instructions */
const TONE_INSTRUCTIONS: Record<string, string> = {