# assistant_context: Fix \`thread_summary_model\` not getting used in Text Threads \(\#38859\) · gitcafe/zed

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

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

Visibility: public

Requested revision: c627543b461d51aeee4feb7a4d8ec3bcf934b763

Requested commit: c627543b461d51aeee4feb7a4d8ec3bcf934b763

Commit: c627543b461d51aeee4feb7a4d8ec3bcf934b763

Tree: 6ba875b9de3ae678640b5065feb130717b08750f

Author: Umesh Yadav

Committer: GitHub

## Message

```
assistant_context: Fix `thread_summary_model` not getting used in Text Threads (#38859)

Closes https://github.com/zed-industries/zed/issues/37472

Release Notes:

- Fixed an issue in Text Threads where it was using `default_model` even
in case `thread_summary_model` was set.

---------

Signed-off-by: Umesh Yadav <git@umesh.dev>
```

## Parents

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

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