Support slashes in selected model IDs (#59523)

Summary:

- Parse selected model identifiers at the first slash so model IDs may
contain additional slashes.
- Add regression coverage for slash-containing model IDs and invalid
identifiers.

Testing:

- `cargo test -p language_model selected_model_ --lib`

Release Notes:

- Fixed selecting custom language models whose model IDs contain
slashes.
770d5a8aa3Anant Goel committed on 6/18/2026, 1:57:20 AM· committed by GitHubparent362035d
1 file changedLine totals unavailable