# Partially fix assistant onboarding \(\#25313\) · gitcafe/zed

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

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

Visibility: public

Requested revision: f517050548fb81aaad159b44b0d6183961fc305d

Requested commit: f517050548fb81aaad159b44b0d6183961fc305d

Commit: f517050548fb81aaad159b44b0d6183961fc305d

Tree: 7fc436c1a1c1b423ad2c7c7a17e85e393aba82a4

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Partially fix assistant onboarding (#25313)

While investigating #24896, I noticed two issues:

1. The default configuration for the `zed.dev` provider was using the
wrong string for Claude 3.5 Sonnet. This meant the provider would always
result as not configured until the user selected it from the model
picker, because we couldn't deserialize that string to a valid
`anthropic::Model` enum variant.
2. When clicking on `Open New Chat`/`Start New Thread` in the provider
configuration, we would select `Claude 3.5 Haiku` by default instead of
Claude 3.5 Sonnet.

Release Notes:

- Fixed some issues that caused AI providers to sometimes be
misconfigured.
```

## Parents

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

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