# Fix inline assistant fallback model selection \(\#63963\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 9e636045f74d3d431abe9873d2b8d2962e614c98

Requested commit: 9e636045f74d3d431abe9873d2b8d2962e614c98

Commit: 9e636045f74d3d431abe9873d2b8d2962e614c98

Tree: 76d4db9f06ae2258549b324bca7df154567aab8f

Author: Henrique Ferreiro

Committer: GitHub

## Message

```
Fix inline assistant fallback model selection (#63963)

Use the registry's default_model() accessor so inline assist can use the
same automatically selected fallback model as agent sessions when no
configured default model resolves. Keep explicit inline model selection
as the first choice.

Related to #59309.

Release Notes:

- Fixed Inline Assistant failing to select an available fallback model
when no default model is configured.

---------

Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
```

## Parents

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

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