Split AvailableModelsResolver changes into backend and frontend code
Need to refactor this MR to make backend changes backward compatible and separate them from frontend changes. Then rollout backend changes first, followed by the fronted changes.
This ticket was created from INC-5308 and was automatically exported by incident.io
Edited by Furhan Shabir