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

Add support for OpenAI o1 and Claude 3.5 Haiku models #22185

Open
1 task done
0x617373656c696e64656265617576696c6c65 opened this issue Dec 18, 2024 · 2 comments · May be fixed by #22323
Open
1 task done

Add support for OpenAI o1 and Claude 3.5 Haiku models #22185

0x617373656c696e64656265617576696c6c65 opened this issue Dec 18, 2024 · 2 comments · May be fixed by #22323
Labels
ai Improvement related to Assistant, Copilot, or other AI features assistant AI feedback for Assistant (inline or panel) enhancement [core label]

Comments

@0x617373656c696e64656265617576696c6c65

Check for existing issues

  • Completed

Describe the feature

Add new models to the Zed Assistant.

OpenAI o1 is already available in Zed through o1-preview and o1-mini, released earlier this year. The o1 model is now available through the OpenAI API.

Announcement: https://openai.com/index/o1-and-new-tools-for-developers/
Docs: https://platform.openai.com/docs/models#o1

Claude 3.5 Haiku is part of the Claude 3.5 model family, released earlier this year, but hasn't been added to Zed yet.

Announcement: https://www.anthropic.com/news/3-5-models-and-computer-use
Docs: https://docs.anthropic.com/en/docs/about-claude/models

Zed Version and System Specs

Zed: v0.165.4 (Zed)
OS: macOS 15.1.1
Memory: 32 GiB
Architecture: aarch64

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

Both models should be available in the model selection panel when OpenAI and Anthropic API keys are set respectively.

OpenAI Anthropic
@0x617373656c696e64656265617576696c6c65 0x617373656c696e64656265617576696c6c65 added admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue labels Dec 18, 2024
@0x617373656c696e64656265617576696c6c65
Copy link
Author

Note

OpenAI o1 is currently rolling out to Tier 5 users.
Source: Dev Day Holiday Edition—12 Days of OpenAI: Day 9

It might be worth waiting for its availability across all tiers before adding it.

@gianpaj
Copy link

gianpaj commented Dec 19, 2024

If you have access to o1, you can already add it manually in the settings.json yourself

{
  // ...
  "language_models": {
    "openai": {
      "version": "1",
      "available_models": [
        {
          "provider": "openai",
          "name": "gpt-4o-mini",
          "max_tokens": 128000
        },
        {
          "name": "o1",
          "display_name": "o1",
          "max_tokens": 128000,
          "max_completion_tokens": 20000
        }
      ]
    }
}

@JosephTLyons JosephTLyons added ai Improvement related to Assistant, Copilot, or other AI features assistant AI feedback for Assistant (inline or panel) and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Dec 20, 2024
@saahityaedams saahityaedams linked a pull request Dec 21, 2024 that will close this issue
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 assistant AI feedback for Assistant (inline or panel) enhancement [core label]
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants