ZIm/crates/language_model/src
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
..
model Remove Qwen2 model (#18444) 2024-09-27 13:30:25 -04:00
provider Switch to Anthropic -latest tags (#19615) 2024-10-23 15:13:52 -04:00
language_model.rs telemetry: Add language_name and model_provider (#18640) 2024-10-04 14:37:27 -04:00
provider.rs Add GitHub Copilot Chat Support (#14842) 2024-07-30 09:32:58 +02:00
rate_limiter.rs Allow customization of the model used for tool calling (#15479) 2024-07-30 16:18:53 +02:00
registry.rs assistant: Add support for displaying billing-related errors (#19082) 2024-10-11 13:22:45 -04:00
request.rs Allow Anthropic custom models to override temperature (#18160) 2024-09-20 14:59:12 -06:00
role.rs Restructure workflow step resolution and fix inserting newlines (#15720) 2024-08-05 09:18:06 +02:00
settings.rs Allow Anthropic custom models to override temperature (#18160) 2024-09-20 14:59:12 -06:00