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

Assistant: Claude API support #8914

Closed
1 task done
kosswald opened this issue Mar 5, 2024 · 15 comments
Closed
1 task done

Assistant: Claude API support #8914

kosswald opened this issue Mar 5, 2024 · 15 comments
Labels
ai Improvement related to Assistant, Copilot, or other AI features assistant AI feedback for Assistant enhancement [core label] potential extension Functionality that could be implemented as an extension (consider moving to community extensions)

Comments

@kosswald
Copy link

kosswald commented Mar 5, 2024

Check for existing issues

  • Completed

Describe the feature

With the release of Claude 3 Opus, it advertises the best coding assistant performance available today. Would be nice to be able to use different APIs with Zed

https://www.anthropic.com/api

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

No response

@kosswald kosswald added admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue labels Mar 5, 2024
@kosswald
Copy link
Author

kosswald commented Mar 5, 2024

Also being discussed in #6708

@Moshyfawn Moshyfawn added ai Improvement related to Assistant, Copilot, or other AI features potential extension Functionality that could be implemented as an extension (consider moving to community extensions) assistant AI feedback for Assistant and removed triage Maintainer needs to classify the issue labels Mar 6, 2024
@JosephTLyons JosephTLyons removed the admin read Pending admin review label Mar 7, 2024
@BryanJBryce
Copy link

Just playing with the free model it's very impressive

@jaanli
Copy link

jaanli commented Mar 9, 2024

Major +1 on this, would help switch from VS code :)

@liam-k
Copy link

liam-k commented Mar 18, 2024

Yes please! although I would probably rename this issue to "make custom assistant APIs possible". Because who knows what the next best LLM will be?

@elamien
Copy link

elamien commented Mar 21, 2024

YES claude 3 opus has been unmatched in terms of context length!

@lessless
Copy link

I'm not going back to ChatGPT anytime soon, so Claude support is very desired feature

@noozo

This comment was marked as spam.

@windhorn
Copy link

windhorn commented May 4, 2024

I'm looking forward to Claude3's support!

@jaanli
Copy link

jaanli commented May 5, 2024

@JosephTLyons
Copy link
Contributor

Claude is available in Zed v0.136.0-pre.

@jaanli
Copy link

jaanli commented May 16, 2024

Yay! Thanks so much @JosephTLyons !!!

@jaanli
Copy link

jaanli commented Jun 2, 2024

@as-cii - is there more documentation or a way to check whether Claude or GPT4o is set?

I can't figure out the way to add the ANTHROPIC_API_KEY command line variable.

Has anyone gotten Claude working in Zed with their API key?

@rafaelbiten
Copy link

rafaelbiten commented Jun 3, 2024

Same here. I've been trying to set an open API key to work with GPT4o within Zed and I can't get it work. It keeps saying: Failed to connect to OpenAI API: The model 'gpt-4o' does not exist or you do not have access to it.

@as-cii
Copy link
Member

as-cii commented Jun 3, 2024

@as-cii - is there more documentation or a way to check whether Claude or GPT4o is set?

I can't figure out the way to add the ANTHROPIC_API_KEY command line variable.

Has anyone gotten Claude working in Zed with their API key?

Hey @jaanli, you should be able to set it in your shell rc file or by launching zed via the command line:

ANTHROPIC_API_KEY=xyz zed /path/to/project

Make sure you set this in your settings.json:

"assistant": {
    "version": "1",
    "provider": {
      "name": "anthropic"
    }
  }

Same here. I've been trying to set an open API key to work with GPT4o within Zed and I can't get it work. It keeps saying: Failed to connect to OpenAI API: The model 'gpt-40' does not exist or you do not have access to it.

@rafaelbiten: it seems like you're misspelling gpt-4o (0 vs o)?

@rafaelbiten
Copy link

Sorry, I just misspelled that in my initial message. Do I have to setup the assistant in the settings.json file? I tried resetting the key a few times. Also, just want to confirm one thing. The instructions say:

Make sure your OpenAI account has credits.

Is that the case if we're subscribed to ChatGPT Plus? If it is, then that's my problem...

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 enhancement [core label] potential extension Functionality that could be implemented as an extension (consider moving to community extensions)
Projects
None yet
Development

No branches or pull requests