This issue has been resolved. It appears there was a bug in LM Studio. I updated the LM Runtime to v.1.15.0 and now it works.
So if anyone else encounter this problem, maybe that could steer you in the right direction.