zed/crates/assistant/src
David Soria Parra 5bae6eb493
context_servers: Completion support for context server slash commands (#17085)
This PR adds support for completions via MCP. The protocol now supports
a new request type "completion/complete"
that can either complete a resource URI template (which we currently
don't use in Zed), or a prompt argument.
We use this to add autocompletion to our context server slash commands!


https://github.com/user-attachments/assets/08c9cf04-cbeb-49a7-903f-5049fb3b3d9f



Release Notes:

- context_servers: Added support for argument completions for context
server prompts. These show up as regular completions to slash commands.
2024-08-29 16:56:58 -04:00
..
context Immediate edit step resolution (#16447) 2024-08-29 10:18:52 -07:00
slash_command context_servers: Completion support for context server slash commands (#17085) 2024-08-29 16:56:58 -04:00
assistant.rs Immediate edit step resolution (#16447) 2024-08-29 10:18:52 -07:00
assistant_panel.rs Immediate edit step resolution (#16447) 2024-08-29 10:18:52 -07:00
assistant_settings.rs Add max_output_tokens to OpenAI models and integrate into requests (#16381) 2024-08-21 00:39:10 -04:00
context.rs assistant: Remove outdated comment (#17105) 2024-08-29 14:24:08 -04:00
context_store.rs Rename is_local to is_local_or_ssh (#16717) 2024-08-22 21:32:51 -06:00
inline_assistant.rs Immediate edit step resolution (#16447) 2024-08-29 10:18:52 -07:00
model_selector.rs assistant: Fix model selector check icon overflow (#16716) 2024-08-26 17:32:32 -07:00
prompt_library.rs linux: Prompt library fixes (#16850) 2024-08-28 20:11:01 -07:00
prompts.rs Immediate edit step resolution (#16447) 2024-08-29 10:18:52 -07:00
slash_command.rs Display default prompts more elaborately (#16471) 2024-08-19 18:44:52 +03:00
slash_command_picker.rs assistant: Add the "create your command" item (#16467) 2024-08-19 12:29:16 -03:00
slash_command_settings.rs assistant: Put /docs and /project behind a setting (#16186) 2024-08-13 17:32:24 -04:00
streaming_diff.rs
terminal_inline_assistant.rs Implement Anthropic prompt caching (#16274) 2024-08-15 22:21:06 -05:00
workflow.rs Immediate edit step resolution (#16447) 2024-08-29 10:18:52 -07:00