cheshire-cat-ai / admin-vue

Admin panel of the Cheshire Cat AI
GNU General Public License v3.0
32 stars 28 forks source link

[Feature] Support lists in plugin settings #85

Open zAlweNy26 opened 1 month ago

zAlweNy26 commented 1 month ago

Is your feature request related to a problem? Please describe. At the moment the lists are not supported in plugin settings, making it impossible to ask for an array of strings (for example).

Describe the solution you'd like Support the lists json schema so that it can be used in plugin settings.

pieroit commented 1 month ago

@zAlweNy26 does this require changes core side? It should be possible to have lists in pydantic models, also the JSON schema should reflect that

zAlweNy26 commented 1 month ago

No need for changes on core side, as Pydantic already support lists. The frontend just need to manage the generated json schema for lists.