chore: remove obsolete model IDs for Anthropic, Google, OpenAI, xAI#12923
chore: remove obsolete model IDs for Anthropic, Google, OpenAI, xAI#12923felixarntz merged 15 commits intomainfrom
Conversation
… in code snippets with equivalent newer versions
There was a problem hiding this comment.
are we sure claude-3-7-sonnet and claude-3-5-haiku are defunkt, while claude-3-haiku is still working?
Maybe share based on what information you are making that change in the PR for audit and future reference?
There was a problem hiding this comment.
Great question. Yes, this is based on their models endpoint response. Double-checking, it also aligns with their documentation: https://platform.claude.com/docs/en/about-claude/model-deprecations#deprecation-history
Haiku 3 is deprecated only as of recently and will disappear from the API on April 20.
There was a problem hiding this comment.
This guide has sonnet 3-7 in its file name. Should we rename it to just 20-sonnet.mdx?
There was a problem hiding this comment.
reverted the references; since the model is no longer available, added a deprecation warning for now: c4ac5fd
@nicoalbanese Should we remove obsolete docs like this? Could do that in a follow up.
Background
Follow up to:
These issues were opened with type "New provider", so models listed in "New models" in this context does not mean these are new models, but rather that they are all models that the provider API supports.
This PR removes any models that were not in this list but still in our codebase.
Summary
Checklist
pnpm changesetin the project root)