ZIm/crates/language_model/src/provider
Peter Tripp 291af664e1
Switch to Anthropic -latest tags (#19615)
- Closes: https://github.com/zed-industries/zed/issues/19609

Switches us to using `-latest` tags with Anthropic models instead of
pinning to a specific date version.
See: [Anthropic Model
Docs](https://docs.anthropic.com/en/docs/about-claude/models)

This is a no-op for:
- Claude 3 Opus (`claude-3-opus-20240229`)
- Claude 3 Sonnet (`claude-3-sonnet-20240229`)
- Claude 3 Haiku (`claude-3-haiku-20240307`)

For Claude 3.5 Sonnet this will update us from
`claude-3-5-sonnet-20240620` to `claude-3-5-sonnet-20241022`. We will
also pickup any subsequent model updates automatically when Anthropic
updates the `latest` tag.

This matches the behavior for OpenAI where use `gpt-4o` as the
model_name and not `gpt-4o-2024-08-06`.
2024-10-23 15:13:52 -04:00
..
anthropic.rs Switch to Anthropic -latest tags (#19615) 2024-10-23 15:13:52 -04:00
cloud.rs Add client::zed_urls module for constructing zed.dev URLs (#19391) 2024-10-17 16:18:35 -04:00
copilot_chat.rs Refine assistant config UI (#17871) 2024-09-16 08:12:07 -03:00
fake.rs assistant: Stream tool uses as structured data (#17322) 2024-09-03 15:04:51 -04:00
google.rs Refine assistant config UI (#17871) 2024-09-16 08:12:07 -03:00
ollama.rs Allow Anthropic custom models to override temperature (#18160) 2024-09-20 14:59:12 -06:00
open_ai.rs Refine assistant config UI (#17871) 2024-09-16 08:12:07 -03:00