Sam is under contract until 2027. He'll be 30 and his cap hit will be $42M. He seems a Joe Flacco type which will be fine for KK/MM's system, but also keep in mind this is his first year so we might just see some growth from familiarity. He mentioned after the 49ers game his 'improvement' has been a function of "staying calm" and going through his progressions. Both should improve in year 2.
Milroe had a whole shopping list of things to work on last offseason, mostly feet and mechanics, so the next phase of his development is getting to a level of consistency where they feel comfortable letting Drew Lock walk.
By 2027, Milroe may be a Drake Maye type of player: 60-65% completion rate, mostly short/quick passes, but extends plays and gets first downs with his feet. Maye had 98 rushes for 409 yards and 35 1st down this year. Milroe is a more dynamic runner for sure, but he will need to get his reads and mechanics up to snuff before he will see the field.
tldr; we are fine for now and won't have to make any decisions at QB until 2028.