zed/crates
Bennet Bo Fenner ee309a0000
anthropic: Dynamically fetch models from /models (#56397)
Most compelling reason to make this change is that we don't have to ship
a new Zed binary if Anthropic releases a new model

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- anthropic: Dynamically fetch available models from Anthropic API

---------

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
2026-05-11 13:19:20 +00:00
..
acp_thread agent: Improve UX when agent tries to edit unsaved buffer (#55655) 2026-05-08 11:26:03 +00:00
acp_tools acp: Improve ACP debug view (#54769) 2026-04-24 15:53:14 +00:00
action_log action_log: Fix race condition when committing changes (#53884) 2026-04-16 12:54:17 +00:00
activity_indicator Make all status bar tools able to hide its button via UI (#54971) 2026-05-08 10:36:03 +00:00
agent agent: Remove open tool (#56295) 2026-05-11 08:58:03 +00:00
agent_servers agent: Improve UX when agent tries to edit unsaved buffer (#55655) 2026-05-08 11:26:03 +00:00
agent_settings agent: Allow specifying which model is used for subagents (#56203) 2026-05-08 17:06:02 +00:00
agent_ui sidebar: Add terminals to thread switcher (#56388) 2026-05-11 12:21:29 +00:00
ai_onboarding Fix sign in disclaimer to accurately show trial benefits (#55964) 2026-05-07 15:43:43 +00:00
anthropic anthropic: Dynamically fetch models from /models (#56397) 2026-05-11 13:19:20 +00:00
askpass Fix bad GitHub merge queue merge (#54721) 2026-04-23 23:47:30 +00:00
assets
audio audio: Remove rodio audio backend (#51945) 2026-03-24 00:58:09 +01:00
auto_update auto_update: Fix Windows installer task arguments syntax (#50464) 2026-05-11 05:31:58 +00:00
auto_update_helper Fix Windows icon resource for bin zed.exe (#54738) 2026-05-01 22:33:54 +00:00
auto_update_ui Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
aws_http_client
bedrock bedrock: Always use 1M context window for anthropic models (#56195) 2026-05-08 15:43:52 +00:00
breadcrumbs editor: Replace BreadcrumbText with HighlightedText (#51083) 2026-03-13 08:00:22 +00:00
buffer_diff action_log: Fix race condition when committing changes (#53884) 2026-04-16 12:54:17 +00:00
call client: Rename UserId to LegacyUserId (#56185) 2026-05-08 15:53:40 +00:00
channel client: Rename UserId to LegacyUserId (#56185) 2026-05-08 15:53:40 +00:00
cli Fix Windows icon resource for bin zed.exe (#54738) 2026-05-01 22:33:54 +00:00
client client: Rename UserId to LegacyUserId (#56185) 2026-05-08 15:53:40 +00:00
clock
cloud_api_client Expand ClientApiError with structured variants for connection, server, and response errors (#56214) 2026-05-08 20:35:29 +00:00
cloud_api_types collab: Route UserService::get_user_by_github_login through Cloud (#56190) 2026-05-08 16:21:09 +00:00
cloud_llm_client ep: Generate request IDs on the client (#56386) 2026-05-11 09:10:05 +00:00
codestral language_model: Decouple from Zed-specific implementation details (#52913) 2026-04-02 17:06:57 -03:00
collab collab: Route UserService::get_user_by_github_login through Cloud (#56190) 2026-05-08 16:21:09 +00:00
collab_ui client: Rename UserId to LegacyUserId (#56185) 2026-05-08 15:53:40 +00:00
collections Add VecMap::entry_ref (#52601) 2026-03-27 18:06:56 -07:00
command_palette Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
command_palette_hooks
component
component_preview Simplify parallel agents onboarding (#53854) 2026-04-15 21:51:15 -03:00
context_server Avoid sending null "params" in MCP notification (#54807) 2026-05-06 13:33:06 +00:00
copilot Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
copilot_chat Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
copilot_ui Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
crashes Cleanup crashes crate (#54927) 2026-05-04 06:30:47 +00:00
credentials_provider language_model: Decouple from Zed-specific implementation details (#52913) 2026-04-02 17:06:57 -03:00
csv_preview Performance tweaks (#54321) 2026-04-21 07:25:22 +00:00
dap dap: Support IPv6 addresses in TCP transport (#52244) 2026-04-27 08:42:45 +00:00
dap_adapters Rust 1.95 (#55104) 2026-04-29 10:27:47 +00:00
db Remove smol as a dependency from a bunch of crates (#53603) 2026-04-24 10:29:51 +00:00
debug_adapter_extension
debugger_tools Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
debugger_ui Make all status bar tools able to hide its button via UI (#54971) 2026-05-08 10:36:03 +00:00
deepseek deepseek: Add deepseek-v4-pro & deepseek-v4-flash (#54731) 2026-04-27 13:50:00 +00:00
denoise Rust 1.95 (#55104) 2026-04-29 10:27:47 +00:00
dev_container Trim nonalphanumeric chars before prefixing image tag name (#54578) 2026-04-23 07:36:36 +00:00
diagnostics diagnostics: Always expand at least multibuffer_context_lines per diagnostic (#56172) 2026-05-08 14:18:44 +00:00
docs_preprocessor Staged docs releases (#50136) 2026-04-30 11:10:14 +00:00
edit_prediction ep: Generate request IDs on the client (#56386) 2026-05-11 09:10:05 +00:00
edit_prediction_cli ep: Move scores aggegation to edit_prediction_metrics (#55609) 2026-05-04 09:53:36 +00:00
edit_prediction_context Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
edit_prediction_metrics ep: Drop dependency on language/gpui (#55917) 2026-05-06 17:03:01 +00:00
edit_prediction_types edit_prediction: Disable training data collection based on organization configuration (#53639) 2026-04-10 13:27:04 -04:00
edit_prediction_ui Fix edit prediction provider checkmark (#56250) 2026-05-09 19:08:54 +00:00
editor editor: Extract more git related stuff out of editor.rs (#56198) 2026-05-08 16:24:30 +00:00
editor_benchmarks editor: Improve find_matches and replace_all perf (#51941) 2026-05-06 09:28:05 +00:00
encoding_selector Make all status bar tools able to hide its button via UI (#54971) 2026-05-08 10:36:03 +00:00
env_var language_models: Refactor deps and extract cloud (#53270) 2026-04-07 12:28:19 -03:00
etw_tracing
eval_cli eval_cli: Set global filesystem in eval CLI init (#55862) 2026-05-06 09:35:43 +00:00
eval_utils
explorer_command_injector
extension extension_builder: Use cfg_select for WASI SDK asset name (#55660) 2026-05-06 18:52:31 +00:00
extension_api extension_api: Add IPv6 support in DAP extensions API (#54984) 2026-04-29 07:27:05 +00:00
extension_cli extension_host: Fix Windows manifest paths when uploading extensions to WSL remote (#50653) 2026-04-21 17:32:54 -04:00
extension_host bash: Add built-in language server support (#52811) 2026-05-06 22:38:44 +00:00
extensions_ui Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
feature_flags sidebar: Enable agent panel terminal for staff (#56403) 2026-05-11 11:57:46 +00:00
feature_flags_macros Feature flag overrides (#54206) 2026-04-18 06:34:19 +00:00
feedback Cleanup crashes crate (#54927) 2026-05-04 06:30:47 +00:00
file_finder Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
file_icons
fs fs: Don't treat watcher errors as reason to do rescans (#56165) 2026-05-08 13:19:07 +00:00
fs_benchmarks
fuzzy fuzzy: Fix crash with Unicode chars whose lowercase expands to multiple codepoints (#52989) 2026-04-03 11:00:13 +00:00
fuzzy_nucleo fuzzy_nucleo: Refactor multi-atom code to use nucleo::Pattern (#55264) 2026-05-06 10:56:20 +00:00
git Add a Copy Tag action to the git graph context menu (#56110) 2026-05-09 02:46:59 +00:00
git_graph Add a Copy Tag action to the git graph context menu (#56110) 2026-05-09 02:46:59 +00:00
git_hosting_providers Fix GitHub bot avatar URL (#55297) 2026-04-30 14:17:32 +00:00
git_ui git_ui: Escape markdown in discard confirmation dialog (#56197) 2026-05-08 20:06:36 +00:00
go_to_line Make all status bar tools able to hide its button via UI (#54971) 2026-05-08 10:36:03 +00:00
google_ai agent: Allow tools to output multiple content parts (#54518) 2026-04-27 12:36:11 +00:00
gpui gpui: Remove unsound await_on_background helper (#56132) 2026-05-08 09:30:34 +00:00
gpui_linux gpui(windows): Fix unwrap panic when monitor goes missing (#55630) 2026-05-06 07:35:40 +00:00
gpui_macos gpui(windows): Fix unwrap panic when monitor goes missing (#55630) 2026-05-06 07:35:40 +00:00
gpui_macros Handle hiding cursor on keyboard input at GPUI level (#55664) 2026-05-04 22:51:56 +00:00
gpui_platform agent: Fix cargo test -p agent on windows (#52311) 2026-03-24 11:05:12 +00:00
gpui_shared_string gpui_shared_string: Implement SharedString via smol_str (#54649) 2026-04-24 08:58:26 +00:00
gpui_tokio gpui_tokio: Use shutdown_background to avoid WASI panic on exit (#53904) 2026-04-14 18:14:31 +02:00
gpui_util Fix bad GitHub merge queue merge (#54721) 2026-04-23 23:47:30 +00:00
gpui_web Handle hiding cursor on keyboard input at GPUI level (#55664) 2026-05-04 22:51:56 +00:00
gpui_wgpu gpui_wgpu: Remove redundant match arms for backend priority (#56032) 2026-05-07 15:07:36 +00:00
gpui_windows gpui_windows: Avoid process-wide priority elevation (#56050) 2026-05-07 14:09:39 +00:00
grammars Highlight nested JSX member expression tags (#53750) 2026-04-24 08:45:47 +00:00
html_to_markdown
http_client http_client: Fix GitHub download unpack failures on some filesystems (#53286) 2026-04-07 11:19:21 +05:30
http_client_tls
icons recent_projects: Add "open in new window" action to opened projects (#55168) 2026-04-29 11:38:03 +00:00
image_viewer Make all status bar tools able to hide its button via UI (#54971) 2026-05-08 10:36:03 +00:00
input_latency_ui telemetry: Add latency metrics (#54454) 2026-04-22 22:22:10 +00:00
inspector_ui Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
install_cli
journal Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
json_schema_store Rust 1.95 (#55104) 2026-04-29 10:27:47 +00:00
keymap_editor gpui_shared_string: Implement SharedString via smol_str (#54649) 2026-04-24 08:58:26 +00:00
language Fix zeta2 prompt format selection (#55338) 2026-05-08 13:19:33 +00:00
language_core editor: Fix soft-wrap in auto-height editors (#54051) 2026-04-18 00:55:44 +02:00
language_extension language_core: Introduce fallback highlights (#52575) 2026-04-02 12:52:42 +00:00
language_model agent: Allow tools to output multiple content parts (#54518) 2026-04-27 12:36:11 +00:00
language_model_core Implement tool result conversion for anyhow errors (#55001) 2026-04-27 13:03:33 +00:00
language_models anthropic: Dynamically fetch models from /models (#56397) 2026-05-11 13:19:20 +00:00
language_models_cloud Remove smol as a dependency from a bunch of crates (#53603) 2026-04-24 10:29:51 +00:00
language_onboarding Remove some outdated comments (#52432) 2026-03-25 12:07:34 -06:00
language_selector Make all status bar tools able to hide its button via UI (#54971) 2026-05-08 10:36:03 +00:00
language_tools Make all status bar tools able to hide its button via UI (#54971) 2026-05-08 10:36:03 +00:00
languages gpui: Remove unsound await_on_background helper (#56132) 2026-05-08 09:30:34 +00:00
line_ending_selector Make all status bar tools able to hide its button via UI (#54971) 2026-05-08 10:36:03 +00:00
livekit_api
livekit_client Add ability to auto watch screens (#54839) 2026-05-01 17:29:27 +00:00
lmstudio ai: Add LMStudio API URL & API key support (#48309) 2026-03-06 16:49:55 +00:00
lsp lsp: Display readable gopls version in UI (#49835) 2026-03-17 08:36:37 +01:00
markdown markdown: Fix table header alignment and apply alignment to cell content (#56179) 2026-05-08 15:24:45 +00:00
markdown_preview markdown_preview: Implement reload (#56016) 2026-05-07 09:31:37 +00:00
media
menu
migrator Handle hiding cursor on keyboard input at GPUI level (#55664) 2026-05-04 22:51:56 +00:00
miniprofiler_ui Disable miniprofiler by default (#54645) 2026-04-23 18:41:52 +00:00
mistral Cleanup and update mistral models based on their documentation (#55443) 2026-05-06 12:27:58 +00:00
multi_buffer editor: Improve find_matches and replace_all perf (#51941) 2026-05-06 09:28:05 +00:00
nc
net
node_runtime acp: Use npm --prefix for registry npx agents (#53560) 2026-04-14 11:10:31 +00:00
notifications Remove smol as a dependency from a bunch of crates (#53603) 2026-04-24 10:29:51 +00:00
ollama Prefer Ollama configured model context length over model architecture context length (#53543) 2026-04-15 02:21:56 -04:00
onboarding Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
open_ai agent: Allow tools to output multiple content parts (#54518) 2026-04-27 12:36:11 +00:00
open_path_prompt theme: Split out theme_settings crate (#52569) 2026-03-27 14:41:25 +01:00
open_router language_models: Refactor deps and extract cloud (#53270) 2026-04-07 12:28:19 -03:00
opencode opencode: Update Free models (#56328) 2026-05-10 20:29:59 +00:00
outline outline: Fix panic due to stale outline hover selection (#55674) 2026-05-05 05:10:46 +00:00
outline_panel Make all status bar tools able to hide its button via UI (#54971) 2026-05-08 10:36:03 +00:00
panel ui: Refactor the Button component icon methods (#51496) 2026-03-13 14:13:12 -03:00
paths Derive data directory names from APP_NAME constant (#55805) 2026-05-06 19:52:34 +00:00
picker recent_projects: Allow bulk deleting entries without scroll jumping (#54777) 2026-05-06 14:06:48 +00:00
platform_title_bar Remove Agent V2 feature flag (#52792) 2026-04-08 00:34:54 +00:00
prettier Fix FormatSelections to only format selected ranges, not entire document (#51593) 2026-03-31 12:48:22 +03:00
project Fix resolved lens causing flickers (#56047) 2026-05-08 10:23:56 +00:00
project_benchmarks Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
project_panel Make all status bar tools able to hide its button via UI (#54971) 2026-05-08 10:36:03 +00:00
project_symbols Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
prompt_store gpui_shared_string: Implement SharedString via smol_str (#54649) 2026-04-24 08:58:26 +00:00
proto git_ui: Add force delete for unmerged branches (#55927) 2026-05-06 20:08:42 +00:00
recent_projects workspace: Always add projects to windows (#56187) 2026-05-09 01:54:42 +00:00
refineable
release_channel agent: Add ability to import threads from other channels (#54002) 2026-04-15 23:25:44 +00:00
remote Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
remote_connection agent: Fix find_or_create repository to support remote (#54074) 2026-04-16 16:36:09 -07:00
remote_server git: Fix diff hunks not being removed on restore in remote projects (#54823) 2026-05-07 17:40:28 +00:00
repl Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
reqwest_client Actually remove file (#56223) 2026-05-08 21:03:40 +00:00
rope Swap arrayvec crate for heapless to use LenT optimization (#47101) 2026-03-21 14:05:30 +01:00
rpc git_graph: Add remote support for search operations (#55167) 2026-05-04 16:38:14 +00:00
rules_library Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
scheduler Remove Executor::close() (#50970) 2026-03-07 04:11:45 +00:00
schema_generator theme: Split out theme_settings crate (#52569) 2026-03-27 14:41:25 +01:00
search Make all status bar tools able to hide its button via UI (#54971) 2026-05-08 10:36:03 +00:00
session Fix shared database test isolation (#51809) 2026-03-18 12:05:57 -07:00
settings Handle hiding cursor on keyboard input at GPUI level (#55664) 2026-05-04 22:51:56 +00:00
settings_content agent: Allow specifying which model is used for subagents (#56203) 2026-05-08 17:06:02 +00:00
settings_json Remove some outdated comments (#52432) 2026-03-25 12:07:34 -06:00
settings_macros
settings_profile_selector Settings profile base option (#52456) 2026-04-02 00:44:53 +00:00
settings_ui agent: Refresh agent system prompt (#56164) 2026-05-09 09:56:17 +00:00
shell_command_parser Extract nested command substitutions from arithmetic expansions (#54690) 2026-05-05 16:25:56 +00:00
sidebar sidebar: Show worktree labels for agent terminals (#56412) 2026-05-11 13:18:58 +00:00
snippet
snippet_provider Rust 1.95 (#55104) 2026-04-29 10:27:47 +00:00
snippets_ui Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
sqlez Remove smol as a dependency from a bunch of crates (#53603) 2026-04-24 10:29:51 +00:00
sqlez_macros
streaming_diff
sum_tree Swap arrayvec crate for heapless to use LenT optimization (#47101) 2026-03-21 14:05:30 +01:00
svg_preview gpui: Fix BGRA conversion for SVG rendering (#52641) 2026-03-29 14:43:05 +00:00
syntax_theme Extract syntax_theme crate (#52798) 2026-03-31 08:06:37 -06:00
system_specs Cleanup crashes crate (#54927) 2026-05-04 06:30:47 +00:00
tab_switcher Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
task Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
tasks_ui Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
telemetry
telemetry_events
terminal Fix flaky terminal kill task test (#56194) 2026-05-08 15:32:59 +00:00
terminal_view Make all status bar tools able to hide its button via UI (#54971) 2026-05-08 10:36:03 +00:00
text editor: Improve find_matches and replace_all perf (#51941) 2026-05-06 09:28:05 +00:00
theme theme: Expose editor diff hunk colors (#51784) 2026-05-06 21:18:29 +00:00
theme_extension theme: Split out theme_settings crate (#52569) 2026-03-27 14:41:25 +01:00
theme_importer theme: Split out theme_settings crate (#52569) 2026-03-27 14:41:25 +01:00
theme_selector Fix bad GitHub merge queue merge (#54721) 2026-04-23 23:47:30 +00:00
theme_settings theme: Expose editor diff hunk colors (#51784) 2026-05-06 21:18:29 +00:00
time_format
title_bar client: Rename UserId to LegacyUserId (#56185) 2026-05-08 15:53:40 +00:00
toolchain_selector Make all status bar tools able to hide its button via UI (#54971) 2026-05-08 10:36:03 +00:00
ui Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
ui_input agent_ui: Mask API key input in Add LLM provider modal (#50379) 2026-03-13 19:37:18 -03:00
ui_macros ui: Make UI independent from settings crate (#52578) 2026-03-27 15:31:49 +00:00
ui_prompt theme: Split out theme_settings crate (#52569) 2026-03-27 14:41:25 +01:00
util Fix remote worktree path separators (#55486) 2026-05-06 00:06:51 +00:00
util_macros
vim vim: Change surrounds with Mini{Quotes,Brackets} and AnyQuotes (#51067) 2026-05-09 04:10:54 +00:00
vim_mode_setting workspace: Only suppress auto-save on focus transfer for the Vim/Helix command palette (#51949) 2026-03-19 12:53:26 -04:00
watch Remove unreferenced dev dependencies (#51093) 2026-03-09 13:22:12 +01:00
web_search
web_search_providers language_models: Refactor deps and extract cloud (#53270) 2026-04-07 12:28:19 -03:00
which_key theme: Split out theme_settings crate (#52569) 2026-03-27 14:41:25 +01:00
windows_resources Fix Windows icon resource for bin zed.exe (#54738) 2026-05-01 22:33:54 +00:00
workspace zed: Fix local files not opening with focus on remote workspaces (#56373) 2026-05-11 10:30:59 +00:00
worktree fs: Defer initializing poll watcher until after initial worktree scan (#56207) 2026-05-08 19:28:01 +00:00
worktree_benchmarks
x_ai x_ai: Update models list (#55931) 2026-05-07 09:56:04 +00:00
zed zed: Fix local files not opening with focus on remote workspaces (#56373) 2026-05-11 10:30:59 +00:00
zed_actions Fix cmd-e on macOS to behave more like it should (#54451) 2026-04-21 19:54:02 +00:00
zed_credentials_provider language_model: Decouple from Zed-specific implementation details (#52913) 2026-04-02 17:06:57 -03:00
zed_env_vars language_model: Decouple from Zed-specific implementation details (#52913) 2026-04-02 17:06:57 -03:00
zeta_prompt Fix zeta2 prompt format selection (#55338) 2026-05-08 13:19:33 +00:00
zlog
zlog_settings
ztracing
ztracing_macro