# Support slashes in selected model IDs \(\#59523\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/770d5a8aa313c5af66c584532de61365144b093a)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 770d5a8aa313c5af66c584532de61365144b093a

Requested commit: 770d5a8aa313c5af66c584532de61365144b093a

Commit: 770d5a8aa313c5af66c584532de61365144b093a

Tree: 79f8a94c021769a71ab77f4af395ac59bfa9c55a

Author: Anant Goel

Committer: GitHub

## Message

```
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.
```

## Parents

- [362035d52aaf5e99f47179961ff3df5e67740316](https://git.cafe/gitcafe/zed/commit/362035d52aaf5e99f47179961ff3df5e67740316?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/770d5a8aa313c5af66c584532de61365144b093a?format=markdown)
