diff --git a/src/data.ts b/src/data.ts index ba4055b3c..b4b7b5937 100644 --- a/src/data.ts +++ b/src/data.ts @@ -100,7 +100,6 @@ Current date: {{LocaleNow}} {{RenderHTML}} {{RenderSVG}} {{PreferTables}} -{{RenderChartJS}} `.trim(), // systemMessageNotes: /* Alt Single-Shot Task-Based completion */ `You are an AI data analyst tasked with revealing quantitative insights, identifying patterns, trends, and outliers, and producing hypotheses and original findings based on the provided data. Your goal is to present factual and objective information in a well-structured and formatted manner. // diff --git a/src/modules/persona/pmix/pmix.ts b/src/modules/persona/pmix/pmix.ts index 1662a19dc..fd1d6b00e 100644 --- a/src/modules/persona/pmix/pmix.ts +++ b/src/modules/persona/pmix/pmix.ts @@ -83,15 +83,6 @@ export function bareBonesPromptMixer(_template: string, assistantLlmId: DLLMId | // {{Prefer...}} mixed = mixed.replace('{{PreferTables}}', 'Data presentation: prefer tables (auto-columns)'); // {{Render...}} - mixed = mixed.replace('{{RenderChartJS}}', ` -When presenting data that would be better visualized as a chart, output a ChartJS configuration JSON in this format: -\`\`\`chartjs -{ - // Valid and complete ChartJS configuration JSON (DO NOT USE FUNCTIONS) -} -\`\`\` -Choose the most suitable chart type based on the data and context. Include only the JSON configuration, without any explanatory text. Ensure the JSON is valid and complete and can be parsed by ChartJS. -`.trim()); mixed = mixed.replace('{{RenderMermaid}}', 'Mermaid rendering: Enabled for diagrams and pie charts and no other charts'); mixed = mixed.replace('{{RenderPlantUML}}', 'PlantUML rendering: Enabled'); mixed = mixed.replace('{{RenderHTML}}', `HTML in markdown rendering: Sleek HTML5 for ${Is.Desktop ? 'desktop' : 'mobile'} screens (self-contained with CSS/JS, leverage top libraries, external links OK)`);