zed/crates/context_servers
David Soria Parra 8a96ea25c4
context_servers: Support tools (#19548)
This PR depends on #19547 

This PR adds support for tools from context servers. Context servers are
free to expose tools that Zed can pass to models. When called by the
model, Zed forwards the request to context servers. This allows for some
interesting techniques. Context servers can easily expose tools such as
querying local databases, reading or writing local files, reading
resources over authenticated APIs (e.g. kubernetes, asana, etc).

This is currently experimental. 

Things to discuss
* I want to still add a confirm dialog asking people if a server is
allows to use the tool. Should do this or just use the tool and assume
trustworthyness of context servers?
* Can we add tool use behind a local setting flag?

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
2024-10-28 10:37:58 -04:00
..
src context_servers: Support tools (#19548) 2024-10-28 10:37:58 -04:00
Cargo.toml context_servers: Hide actions when no context servers are configured (#17833) 2024-09-14 17:00:37 -04:00
LICENSE-GPL context_servers: Add initial implementation (#16103) 2024-08-15 10:49:30 -04:00