# language_models: Add thinking support to LM Studio provider \(\#32337\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4ac793558991a7dce7941beb96d202858a9b05fe

Requested commit: 4ac793558991a7dce7941beb96d202858a9b05fe

Commit: 4ac793558991a7dce7941beb96d202858a9b05fe

Tree: f15dda3671f2dab6cc41d28f7a8afb4ded206015

Author: Umesh Yadav

Committer: GitHub

## Message

```
language_models: Add thinking support to LM Studio provider (#32337)

It works similar to how deepseek works where the thinking is returned as
reasoning_content and we don't have to send the reasoning_content back
in the request.

This is a experiment feature which can be enabled from settings like
this:
<img width="1381" alt="Screenshot 2025-06-08 at 4 26 06 PM"
src="https://github.com/user-attachments/assets/d2f60f3c-0f93-45fc-bae2-4ded42981820"
/>

Here is how it looks to use(tested with
`deepseek/deepseek-r1-0528-qwen3-8b`

<img width="528" alt="Screenshot 2025-06-08 at 5 12 33 PM"
src="https://github.com/user-attachments/assets/f7716f52-5417-4f14-82b8-e853de054f63"
/>


Release Notes:

- Add thinking support to LM Studio provider
```

## Parents

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

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