Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 16, 2025

Conversation

imumesh18
Copy link
Contributor

@imumesh18 imumesh18 commented Jun 16, 2025

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.

cc @osyvokon

Release Notes:

  • N/A

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Jun 16, 2025
@maxdeviant maxdeviant changed the title assistant_tools: Enable diff-fenced edit parser for all gemini models assistant_tools: Enable diff-fenced edit parser for all Gemini models Jun 16, 2025
@SomeoneToIgnore SomeoneToIgnore added the ai Improvement related to Assistant, Copilot, or other AI features label Jun 16, 2025
@osyvokon
Copy link
Contributor

Nice, thanks!

@osyvokon osyvokon merged commit 4383fee into zed-industries:main Jun 16, 2025
28 checks passed
@imumesh18 imumesh18 deleted the push-osxvwsywmosm branch June 16, 2025 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ai Improvement related to Assistant, Copilot, or other AI features cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants