She said “they have no more wine”. Jesus said “Woman, what does that have to do with thee and me? My hour has not yet come.”
Mary tells them to “do whatever He tells you”.
She tells Him about the situation, gets what some would consider a rebuff, and yet she still says “do whatever He tells you”... Sounds to me like she was pretty sure Jesus was going to do something! You can interpret that any way you like; I interpret it differently!
I don’t try to interpret it, I just pointed out what was there and not, nor will I try to guess what Mary might have had in mind and expected of Jesus.
The account seems to emphasize the miracle of wine rather than the interaction of Mary and Jesus.