Conversation
|
All contributors have signed the CLA ✍️ ✅ |
Collaborator
Author
|
I have read the CLA Document and I hereby sign the CLA |
Contributor
|
i tried this but I think it reduces the flexibility that anton has about what it generates, I got the exeprience that the dashboards it generates using this branch are a bit more limited, lets put this one on hold, and we can discuss a plan on how to improve this part |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Templated HTML generation. Dashboards are now produced by filling markers in a template html (GitHub-dark theme, pre-registered ECharts theme and initChart helper) instead of hand-rolling CSS/JS from scratch in every build.
Reworked generation prompt. New instruction is short is:
(1) insights checklist
(2) a spec YAML plan of the page
(3) implementation of template markers and DashSpec blocks
(4) context eraising
Main HTML generation prompt is now loaded as a skill when
proactive_dashboards=False.Context cleanup after build. A new tool
erase_scratchpad_historywipes the code of every scratchpad cell the agent marked as# DELETABLE: <desc>— both in the live pads and in the assistant message history. Once the HTML is on disk, the intermediate generation code no longer occupies context.