This PR is a refactor of the existing `ModelType` in
`agent_model_selector`.
In #31848 we also need to know which context we are operating in, to
check if the configured model has image support.
In order to deduplicate the logic needed, I introduced a new type called
`ModelUsageContext` which can be used throughout the agent crate
Release Notes:
- N/A
beb0d49dc4Bennet Bo Fenner committed on 6/4/2025, 3:35:50 PM· committed by GitHubparentc9aadad