# language_model: Remove dependencies on individual model provider crates \(\#25503\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 0acd556106ccdad7c2a185c7c85cb20b0cae081c

Requested commit: 0acd556106ccdad7c2a185c7c85cb20b0cae081c

Commit: 0acd556106ccdad7c2a185c7c85cb20b0cae081c

Tree: adaa934caddf430c25dbac7ef05337630ff09aa5

Author: Marshall Bowers

Committer: GitHub

## Message

```
language_model: Remove dependencies on individual model provider crates (#25503)

This PR removes the dependencies on the individual model provider crates
from the `language_model` crate.

The various conversion methods for converting a `LanguageModelRequest`
into its provider-specific request type have been inlined into the
various provider modules in the `language_models` crate.

The model providers we provide via Zed's cloud offering get to stay, for
now.

Release Notes:

- N/A
```

## Parents

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

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