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.

Remove unused 'Scope' field and hint from MemoryDeleteKeyVal component for cleaner code and improved clarity.

Muhammad Hamza Khan0315f1ef46ef
diff --git a/packages/app/src/builder-ui/components/MemoryDeleteKeyVal.class.ts b/packages/app/src/builder-ui/components/MemoryDeleteKeyVal.class.ts
index 77819464..6523d8ef 100644
--- a/packages/app/src/builder-ui/components/MemoryDeleteKeyVal.class.ts
+++ b/packages/app/src/builder-ui/components/MemoryDeleteKeyVal.class.ts
@@ -16,18 +16,9 @@ export class MemoryDeleteKeyVal extends Component {
type: 'input',
label: 'Key',
value: '{{Key}}',
- hint: 'Key to delete from memory',
validate: `maxlength=50`,
attributes: { 'data-template-vars': 'true' },
help: 'Select the key-value store containing the key to delete. <a href="#" target="_blank" class="text-blue-600 hover:text-blue-800">Go to Docs</a>',
- validateMessage: 'Enter a non-empty name, not more than 50 characters.',
- },
- scope: {
- type: 'select',
- label: 'Scope',
- help: 'Choose the scope where the key should be removed. <a href="#" target="_blank" class="text-blue-600 hover:text-blue-800">Go to Docs</a>',
- value: 'Session',
- options: ['Session'],
},
};