autogen icon indicating copy to clipboard operation
autogen copied to clipboard

Add validation UX +API for all components in AGS

Open victordibia opened this issue 1 year ago • 0 comments

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)

victordibia avatar Dec 09 '24 21:12 victordibia