# language_models: Pass up \`mode\` from the \`LanguageModelRequest\` \(\#29552\) · gitcafe/zed

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

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

Visibility: public

Requested revision: cd86905ebe9bcdbaffa7231dd99dc2fda559e61e

Requested commit: cd86905ebe9bcdbaffa7231dd99dc2fda559e61e

Commit: cd86905ebe9bcdbaffa7231dd99dc2fda559e61e

Tree: 28c8dc79870f11fa7be112531acf177dc7871b44

Author: Marshall Bowers

Committer: GitHub

## Message

```
language_models: Pass up `mode` from the `LanguageModelRequest` (#29552)

This PR makes it so we pass up the `mode` from the
`LanguageModelRequest` when interacting with the Zed provider instead of
passing a hard-coded value.

Release Notes:

- N/A
```

## Parents

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

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