autogen
autogen copied to clipboard
Add validation UX +API for all components in AGS
The AutoGen Studio interface should have logic (UX and api endpoints) that can validate components (teams, agents, termination conditions etc). Each component has a pydantic data model .. step one would be to have an api endpoint that supports the following actions.
- Takes a component spec and its type ..
- Valid the json spec using the right pydantic class
- Return the response in the UI (with some usable structure).
Having an API do this in a structured way enables extensiblity (validation occurs only at backend rather than frontend maintaining its own validation logic)