- Issue created by @jibran
- 🇨🇦Canada jibran Toronto, Canada
Created 📌 Add views creation function call plugin Active as a first step.
- 🇨🇦Canada jibran Toronto, Canada
I tried to create a flow diagram for the Views Agent to visualize the flow.
Core Processes
Process 1: List View
Process: 2: Create View
Process 3: Update View
Views Agent
- 🇩🇪Germany marcus_johansson
Awesome user stories!
I do think however you will have to end up with having to split it up in a lot more tools, so having a tool specifically for getting filters for your view type, settings filters and setting filter etc., then one tool for sorting - trying to push one big config array is something that even the biggest models have issues with. You can try this, but my gut feeling is telling me to split it up in smaller tools, similar to how you would setup a Views manually in the GUI, so something like (outside of reusing tools to get entity types etc.)
* Get View Types (page, block, embed, export etc.)
* Get Display View Formats and Outputs for View Type (like Unformatted List and Fields or Entity)
* Set base view config (title, type, display view format).
* Get Display View Format Settings for specific Display View Format
* Set Display View Format
* Get Output formats for View Type and Display View Format combination.
* Set Output formats
etc.Its important that you feed this in pieces and maybe even in sub-agents, to keep the context for a specific task low.
But once again, you could try with the big blob array, but you need the get information tools for sure at least.
- 🇨🇦Canada jibran Toronto, Canada
Thank you for the feedback. I agree we would need sub-agents and I have seen with field type plugin how breaking up in smaller chunks gives more precise results.
I'll refine my approach. - 🇨🇦Canada jibran Toronto, Canada
Updated the update view process as per the discussion.