When setting up the Zed Preview release to work with Claude 3.5 Sonnet (per instructions here), there's an issue where using the listed endpoint "claude-3-5-sonnet" causes Zed to ask for an OpenAI API key, instead of asking for an Anthropic API key.
I believe this can be easily fixed by replacing "claude-3-5-sonnet" with "claude-3-5-sonnet-20240620" as the "default_model" in this line -- basically, it seems like the latter endpoint doesn't have this issue, and causes Zed to properly ask for an Anthropic API key. (There might be a better fix, though this seems fine enough for now / for a quick fix).
Environment
I ran onto this issue on another person's laptop (not mine), but it should be close (if not identical) to mine:
Check for existing issues
Describe the bug / provide steps to reproduce it
When setting up the Zed Preview release to work with Claude 3.5 Sonnet (per instructions here), there's an issue where using the listed endpoint
"claude-3-5-sonnet"
causes Zed to ask for an OpenAI API key, instead of asking for an Anthropic API key.I believe this can be easily fixed by replacing
"claude-3-5-sonnet"
with"claude-3-5-sonnet-20240620"
as the"default_model"
in this line -- basically, it seems like the latter endpoint doesn't have this issue, and causes Zed to properly ask for an Anthropic API key. (There might be a better fix, though this seems fine enough for now / for a quick fix).Environment
I ran onto this issue on another person's laptop (not mine), but it should be close (if not identical) to mine:
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.Zed.log