Context Servers: Protocol fixes and UI improvements (#19087)
This PR does two things. It fixes some minor inconsistencies in the protocol. This is mostly about handling JSON RPC notifications correctly and skipping fields when set to None. Second part is about improving the rendering of context server commands, by passing on the description of the command to the slash command UI and showing the name of the argument as a CodeLabel. Release Notes: - N/A
This commit is contained in:
parent
0e22c9f275
commit
c8b6ad9666
5 changed files with 152 additions and 54 deletions
|
@ -85,7 +85,7 @@ impl ContextServer {
|
|||
)?;
|
||||
|
||||
let protocol = crate::protocol::ModelContextProtocol::new(client);
|
||||
let client_info = types::EntityInfo {
|
||||
let client_info = types::Implementation {
|
||||
name: "Zed".to_string(),
|
||||
version: env!("CARGO_PKG_VERSION").to_string(),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue