Oh I found that flask and totally thought someone had trapped an important character inside and that I would be freeing them like a genie and then I would get rewards like wishes ...

Nope, beholder. Party wipe. RIP.