Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

Update DataSourceIndexer to include data-template-vars attribute

Muhammad Hamza Khane0eecaa93ca3
diff --git a/packages/app/src/builder-ui/components/DataSourceIndexer.class.ts b/packages/app/src/builder-ui/components/DataSourceIndexer.class.ts
index 9da7c56d..d26bdce1 100644
--- a/packages/app/src/builder-ui/components/DataSourceIndexer.class.ts
+++ b/packages/app/src/builder-ui/components/DataSourceIndexer.class.ts
@@ -81,7 +81,9 @@ export class DataSourceIndexer extends Component {
value: '',
validate: `maxlength=500000`,
validateMessage: `The metadata length is limitted to 500,000 characters`,
- attributes: {},
+ attributes: {
+ 'data-template-vars': 'true',
+ },
},
...(this.data.version === 'v2'