Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[editor][client] render array objects in settings properly
Upon loading the OpenAI function calling aiconfig, the editor client does not render the function data. This is because the functions are an array, and the client does not initialize array data. In this diff, if the Settings data is an array with an initial value, properly set/intiailize and render the array data (inside SettingsPropertyRenderer) Also updated the object renderer/settings to render json editor for an unspecified Json ## Testplan Load the function calling aiconfig and open the model settings drawer. Notice the functions get rendered. ![testplan](https://github.com/lastmile-ai/aiconfig/assets/141073967/db69dd24-c792-43c1-9341-84eb235c007b)
- Loading branch information