zed
zed copied to clipboard
Claude Sonnet recommended model endpoint should be changed
Check for existing issues
- [X] Completed
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:
Zed: v0.143.0 (Zed Preview)
OS: macOS 14.5.0
Memory: 32 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response