Aside from we are able to dynamically define the properties like instructions, model ..etc,
But is there a way we can disable it in Memory also?
Like:
memory: ({ runtimeContext }) => {
const disabled = runtimeContext.get(''memory).disabled
return new Memory({ disable: disabled === 'true' })
}