File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
llmstack/client/src/components/apps Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ export function AppEditor(props) {
3636 label : "1. Input" ,
3737 items : schema ,
3838 pillPrefix : "[1] Input / " ,
39+ id : "_inputs1" ,
3940 } ,
4041 ...processors . map ( ( p , index ) => {
4142 return {
@@ -44,6 +45,7 @@ export function AppEditor(props) {
4445 p . api_backend ?. name
4546 } / `,
4647 items : p . api_backend ?. output_schema ,
48+ id : p . id || `_inputs${ index + 1 } ` ,
4749 } ;
4850 } ) ,
4951 ] ) ;
Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ export function TextFieldWithVars(props) {
239239 . map ( ( schema , index ) =>
240240 generateTreeItemsFromSchema (
241241 schema . items ,
242- `_inputs ${ index } ` ,
242+ schema . id ,
243243 ( e , k , widget ) => {
244244 let templateString = `{{${ k } }}` ;
245245 if ( widget === "output_image" ) {
You can’t perform that action at this time.
0 commit comments