Skip to content
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

Request to support Gemini 2.0 Flash #22369

Open
1 task done
coldfrey opened this issue Dec 23, 2024 · 1 comment
Open
1 task done

Request to support Gemini 2.0 Flash #22369

coldfrey opened this issue Dec 23, 2024 · 1 comment
Labels
admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue

Comments

@coldfrey
Copy link

Check for existing issues

  • Completed

Describe the feature

I want model support for Gemini 2.0 Flash experimental in the chat, as part of one of the google provided models.

Zed Version and System Specs

Zed: v0.166.1 (Zed)
OS: macOS 14.6.1
Memory: 16 GiB
Architecture: aarch64

If applicable, add mockups / screenshots to help present your vision of the feature

No response

@coldfrey coldfrey added admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue labels Dec 23, 2024
@bnn1
Copy link

bnn1 commented Dec 23, 2024

You can add models in your settings file. Here's an example:

{
  // other settings,
  "language_models": {
    "google": {
      "available_models": [
        {
          "name": "gemini-2.0-flash-exp",
          "display_name": "Gemini Fast Potato",
          "max_tokens": 1048576
        },
        {
          "name": "gemini-2.0-flash-thinking-exp-1219",
          "display_name": "Gemini Fast Thinking Potato",
          "max_tokens": 32767
        }
      ]
    }
  }
}

This config adds two latest Gemini 2.0 flash models to the editor. Display name is configurable, make it whatever you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue
Projects
None yet
Development

No branches or pull requests

2 participants