The sprinkle of flour is the key to thickening the soup. In addition, the gnocchi is full of starch which contributes to that rich, thick texture you are looking for.