# assistant_tools: Enable diff-fenced edit parser for all Gemini models \(\#32812\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4383fee3c19c66197d92db2ae92b21a48672d5f0

Requested commit: 4383fee3c19c66197d92db2ae92b21a48672d5f0

Commit: 4383fee3c19c66197d92db2ae92b21a48672d5f0

Tree: b234dd6bf6ab0854c86ab50e83c09b15f5530473

Author: Umesh Yadav

Committer: GitHub

## Message

```
assistant_tools: Enable diff-fenced edit parser for all Gemini models (#32812)

I saw recently we added diff-fenced edit parser which improves the
overall edit performance of gemini models in this PR: #32737. The idea
is to enable it to all the models which has gemini as their id as this
will help copilot and openrouter provider as they seem to aggregate all
these models under one umbrella. I thought about adding a new method in
LanguageModel as vendor_name() which returns the underlying actual model
provider name but felt like a too early abstraction for a method to be
used at one place.

Release Notes:

- N/A
```

## Parents

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

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