Closed PopDaph closed 3 months ago
Warnings | |
---|---|
:warning: | Files in `**/lib/models/` have been modified and the PR has the `migration-ack` label. Don't forget to run the migration from the `-edge` infrastructure. |
Generated by :no_entry_sign: dangerJS against 68bf80ee78a94dc2ed83f8e40acae93dda273ca7
Description
This PR implements all the logic necessary to run a visualization action: backend run logic & render in the convo. I prepared a very simple Dust app using Aric's prompt from his PR.
We'll need to iterate on all the params and output logic of the app and of the action, and a lot of UI, but most of this code shouldn't change.
For now the action calls the Dust app that generates the code and we do nothing with it, it is only displayed on the "Inspect tools" button.
I have the code to display the action in the builder ready to push in a PR, it's not a lot of code but there's already 600 lines in this one (sometimes it's hard to split cause the types are shared everywhere).
This makes no change for the user (nothing in the Builder yet to add this new action, and anyway it will be hidden behind a feature flag).
Risk
This should not break anything since the new action is not used, but in case it is safe to roll it back.
Deploy Plan
Deploy front. (changes on the model file is just a type)