# Fix agent default model not picking up after authentication resolve \(\#54397\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 51fc26da220e80873d05afd0a5d4fb43f4b6cee3

Requested commit: 51fc26da220e80873d05afd0a5d4fb43f4b6cee3

Commit: 51fc26da220e80873d05afd0a5d4fb43f4b6cee3

Tree: 341ab77ed3a6185b2c1f0a065def2f6ac7eb724b

Author: Smit Barmase

Committer: GitHub

## Message

```
Fix agent default model not picking up after authentication resolve (#54397)

Regression in https://github.com/zed-industries/zed/pull/54125

Release Notes:

- agent: Fixed an issue where the default Zed model would not get
selected after sign-in completed

---------

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
```

## Parents

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

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