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 MemoryReadKeyVal component for improved clarity and cleaner code.

Muhammad Hamza Khan750df3aef731
diff --git a/packages/app/src/builder-ui/components/MemoryReadKeyVal.class.ts b/packages/app/src/builder-ui/components/MemoryReadKeyVal.class.ts
index 2987fa0e..16b779d0 100644
--- a/packages/app/src/builder-ui/components/MemoryReadKeyVal.class.ts
+++ b/packages/app/src/builder-ui/components/MemoryReadKeyVal.class.ts
@@ -16,18 +16,9 @@ export class MemoryReadKeyVal extends Component {
type: 'input',
label: 'Key',
value: '{{Key}}',
- hint: 'Key to read from memory',
validate: `maxlength=50`,
attributes: { 'data-template-vars': 'true' },
help: 'Select the key-value store to query (e.g., \'crm_cache\'). <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 session, user, or project for the lookup. <a href="#" target="_blank" class="text-blue-600 hover:text-blue-800">Go to Docs</a>',
- value: 'Session',
- options: ['Session'],
},
// scope: {
// type: 'select',
@@ -39,6 +30,7 @@ export class MemoryReadKeyVal extends Component {
// { value: 'workflow', text: 'Workflow' },
// { value: 'ttl', text: 'TTL' },
// ],
+ // help: 'Choose session, user, or project for the lookup. <a href="#" target="_blank" class="text-blue-600 hover:text-blue-800">Go to Docs</a>',
// },
};